Drops non numeric columns from a data.frame object

drop_non_numeric(df)

Arguments

df

A data.frame object for which non-numeric columns will be dropped

Examples

 drop_non_numeric(data.frame(A=1:2, B=c("A", "B")))
#>   A
#> 1 1
#> 2 2