getD | R Documentation |
Facilitates obtaining the data frame for a model along with optional additional creating rows of predictor values to graph fitted values.
getD(model, add = NULL)
model |
whose model frame is used to obtain variable names and, particularly, correct levels for factors used as predictors in the model. |
add |
a data frame with values of predictor variables |
Might supersede getData
and other
processes to create a predictor data frame. Relies on
getModelData
, which, in strong contrast
with getData
, does not use methods
for each modelling methods. If some modelling methods
don't work, then 'getD' will be come a generic function
with the current definition as the default method.
a data frame concatenating the rows of the model frame with those provided in 'add' with an additional variable '.source' with value 'model' or 'add' to indicated the source of the row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.