cov_grid | R Documentation |
Grid of covariates
cov_grid(var, data, covs = NULL, formulas)
var |
Name of variable |
data |
Data frame containing the covariates |
covs |
Optional data frame with a single row and one column for each covariate, giving the values that should be used. If this is not specified, the mean value is used for numeric variables, and the first level for factor variables. |
formulas |
List of formulas used in the model |
Data frame of covariates, with 'var' defined over a grid, and other covariates fixed to their mean (numeric) or first level (factor).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.