Skip to contents

Prep data for obtaining predictions

Usage

data0(data, vars)

Arguments

data

data.frame or data.table

vars

character vector of variables to keep

Value

Checks to see whether packages are already installed or loaded. If not installed, will install. If already loaded, will skip loading. Otherwise, will load libraries and provide a quick summary.

Examples

if (FALSE) { # \dontrun{
data0(mtcars, c("mpg", "cyl", "disp", "make", "model"))
} # }