Description Usage Arguments Value Author(s) Examples
Assigns a list of objects of the class mtkFactor
to the underlying obejct.
1 | setFactors(this, aFactList)
|
this |
the underlying object of the class |
aFactList |
a list of objects of the class |
invisible()
Hervé Richard, BioSP, Inra, Herve.Richard@avignon.inra.fr, Hervé Monod and Juhui WANG, MIA-jouy, INRA
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Build an object of the "mtkExpFactors" class
ishi.factors <- mtkExpFactors()
# Define the factors
x1 <- make.mtkFactor(name="x1", distribName="unif",
distribPara=list(min=-pi, max=pi))
x2 <- make.mtkFactor(name="x2", distribName="unif",
distribPara=list(min=-pi, max=pi))
x3 <- make.mtkFactor(name="x3", distribName="unif",
distribPara=list(min=-pi, max=pi))
# Assign the factors to the mtkExpFactors' object
setFactors(ishi.factors, list(x1,x2,x3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.