powered by
Construct a list of data.frames based upon an input data.frame and a list of one or more at values
at
build_datalist(data, at = NULL, atmeans = FALSE, ...)
A data.frame containing the original data.
A list of one or more named vectors of values, which will be used to specify values of variables in data. See examples.
data
A logical indicating whether, after replacing values in at, to return one-row data.frames containing variable means.
Ignored.
A list of data.frames.
margins
# NOT RUN { # 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))))) # }
Run the code above in your browser using DataLab