categObsPredModelParam-class: S4 class for the parameters of a categorical...

Description Slots Examples

Description

Definition of the S4 class named categObsPredModelParam for the parameters of a categorical observation-prediction model in the optimization approach to selective editing.

Slots

Data

Object of S3 class StQ with the parameters or all data necessary to compute them.

VarRoles

List with components Units, Domains, DesignW, Regressands, Regressors being character vectors containing the column names according to their respective role in the model.

modelFits

List with components...

probs

Data.table with the probabilities from predict...

Train

Data.table with the set of data for training the model.

Test

Data.table with the set of data for testing the model.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# An empty contObsPredModelParam object:
new(Class = 'categObsPredModelParam')

## Not run: 

ObsPredPar <- new(Class = 'categObsPredModelParam',
                  Data = FD,
                  VarRoles = list(Units = 'NOrden', Domains = 'GeoLoc_35._4._2.1.5._1.2.3.'))


## End(Not run)

david-salgado/categObsPredModelParam documentation built on Dec. 3, 2020, 1:42 p.m.