Learn R Programming

manymodelr (version 0.3.9)

drop_non_numeric: Drops non numeric columns from a data.frame object

Description

Drops non numeric columns from a data.frame object

Usage

drop_non_numeric(df)

Arguments

df

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

Examples

Run this code
 drop_non_numeric(data.frame(A=1:2, B=c("A", "B")))

Run the code above in your browser using DataLab