secr.make.newdata {secr} | R Documentation |
Internal function used to generate a dataframe containing design data for the base levels of all predictors in an secr object.
secr.make.newdata(object, all.levels = FALSE)
object |
fitted secr model object |
all.levels |
logical; if TRUE then all levels of factors are included |
secr.make.newdata
is used by predict
in lieu of
user-specified ‘newdata’. There is seldom any need to call
secr.make.newdata
directly.
A dataframe with one row for each session and group, and columns for the
predictors used by object$model
.
## from previously fitted model secr.make.newdata(secrdemo.b)