"strumVirtualModel"
strumVirtualModel
class is a virtual class to represent a STRUctural
Modeling of latent Variables for family data. It contains a description of the model as
specified by the user through the model formulas and an set of functions to construct
the internal matrix representation of the model.
varList
:"data.frame"
containing a list of variables and their properties.formulas
:"character"
containing the information about the formulas and dependencies.allRandomEffects
:"character"
listing all variance components in the model.paramNames
:"character"
describing the names of the model parameters.ascertainment
:"ANY"
stating the ascertainment criteria (function) of the data.E
:"list"
containing the variance matrices of measurement errors of the model.Z
:"list"
containing the variance matrices of random effects for the structural equation of the model.L
:"function"
to generate a matrix to relate the unobserved latent factors to the observed traits in the model.B
:"function"
to generate a matrix denoting the causal relationship among the latent factors in the model.Gs
:"function"
to generate a matrix to relate the observed covariates to the unobserved latent factors in the model.Gm
:"function"
to generate a matrix to relate the observed covariates to the observed traits in the model.thToThB
:"numeric"
for future use.signature(object = "strumVirtualModel")
: Accessor function, returns the formulas of the model.signature(object = "strumVirtualModel", value)
: Modifier function, sets the formulas of the model with a given value.signature(object = "strumVirtualModel")
: Accessor function, returns the names of covariate phenotypes of the model.signature(object = "strumVirtualModel")
: Accessor function, returns the variable list of the model as a data.frame.signature(object = "strumVirtualModel", value)
: Modifier function, sets the variable list of the model with a given value.signature(object = "strumVirtualModel")
: Accessor function, returns the names of all random effects of the model.signature(object = "strumVirtualModel", value)
: Modifier function, sets the allRandomEffects of the model with a given value.signature(object = "strumVirtualModel")
: Accessor function, returns the names of all parameters of the model.signature(object = "strumVirtualModel", value)
: Modifier function, sets the paramNames of the model with a given value.signature(object = "strumVirtualModel")
: Accessor function, returns the ascertainment definition of the model.signature(object = "strumVirtualModel", value)
: Modifier function, sets the ascertainment of the model with a given value.signature(object = "strumVirtualModel")
: Print a summary of the model.signature(object = "strumVirtualModel", layoutType="dot", name="strumVirtualModel", toFile=TRUE, fileType="dot"): Plot the model.
strumModel
, strumSimModel
showClass("strumVirtualModel")
Run the code above in your browser using DataLab