Description Usage Arguments Value Examples
getVarRoles
extracts the slot VarRoles
of the input object.
1 2 3 4 | getVarRoles(object)
## S4 method for signature 'categObsPredModelParam'
getVarRoles(object)
|
object |
Object of class categObsPredModelParam. |
List with components Units
, Domains
, DesignW
, Regressands
,
Regressors
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
fitPar <- new(Class = 'fitParam',
edData = FFall_AS.StQ, rawData = FGall_AS.StQ,
selParam = list(ntreeTry=1000, stepFactor=2, improve=0.05,
trace=TRUE, plot=TRUE, doBest = TRUE,
ptrain = 0.8, DD = DDactu),
valParam = list(edEffInd = effInd, priorBin = 5,
dataVal = c('Train','Test')))
ObsPredPar1 <- new(Class = 'categObsPredModelParam',
Data = FGall_AS.StQ,
VarRoles = list(Units = IDUnits,
Domains = character(0),
DesignW = DesignW,
Regressands = Regressands,
Regressors = Regressors
))
ObsPredPar1 <- fitModels(ObsPredPar1, fitPar, na.as.category)
getVarRoles(ObsPrePar1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.