| build_datalist {prediction} | R Documentation |
Construct a list of data.frames based upon an input data.frame and a list of one or more at values
build_datalist(data, at = NULL, ...)
data |
A data.frame containing the original data. |
at |
A list of one or more named vectors of values, which will be used to specify values of variables in |
... |
Ignored. |
A list of data.frames.
Thomas J. Leeper
find_data, mean_or_mode, seq_range
# basic examples
require("datasets")
build_datalist(head(mtcars), at = list(cyl = c(4, 6)))
str(build_datalist(head(mtcars, at = list(cyl = c(4,6), wt = c(1,2,3)))))