Description Usage Arguments Value Author(s) Examples
Sets the features to an object of the mtkFactor
class.
1 | setFeatures(this, aFList)
|
this |
an object of the class |
aFList |
a list of |
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 | # Build an object of the "mtkFactor" class
x1 <- make.mtkFactor(name="x1", type="double", nominal=0, distribName="unif",
distribPara=list(min=-pi, max=pi))
# Define the list of features
f <- make.mtkFeatureList(list(f=4.5,c=+6,shape="parabolic"))
# Assign the features to the factor
setFeatures(x1,f)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.