makeNewData | R Documentation |
Internal function used to generate a dataframe containing design data for the base levels of all predictors in an openCR object.
## S3 method for class 'openCR'
makeNewData(object, all.levels = FALSE, ...)
object |
fitted openCR model object |
all.levels |
logical; if TRUE then all covariate factor levels appear in the output |
... |
other arguments (not used) |
makeNewData
is used by predict
in lieu of
user-specified ‘newdata’. There is seldom any need to call
makeNewData
directly.
makeNewData
uses saved agelevels for grouping ages
(openCR >= 2.2.6).
A dataframe with one row for each session, and columns for the
predictors used by object$model
.
openCR.fit
## Not run:
## null example (no covariates)
ovenCJS <- openCR.fit(ovenCH)
makeNewData(ovenCJS)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.