Description Usage Examples
View source: R/Preprocessor.R
Helper function to select numeric variables.
1
numerics(data)
1 2 3 4
df <- data.frame(a=c(1,2,NA,3), b=c(10,20,30,NA), c=c("c1", "c2", "c3", "c4")) prep <- impute(numerics, mean, na.rm = TRUE) prep$fit(df) prep$transform(df)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.