powered by
Internal function used to generate a dataframe containing design data for the base levels of all predictors in an secr object.
# S3 method for ipsecr makeNewData(object, all.levels = FALSE, ...)
A dataframe with one row for each session and group, and columns for the predictors used by object$model.
object$model
fitted ipsecr model object
logical; if TRUE then all levels of factors are included
other arguments (not used)
makeNewData is used by predict in lieu of user-specified `newdata'. There is seldom any need to call the function makeNewData directly.
makeNewData
predict
predict.ipsecr, ipsecr.fit
predict.ipsecr
ipsecr.fit
## from previously fitted model makeNewData(ipsecrdemo)
Run the code above in your browser using DataLab