Description Class Hierarchy Constructor Slots Methods Author(s) Examples
The mtkFeature
class is a class used to manage the features associated with a factor.
mtkValue
mtkFeature
signature(name='unknown', type='logical', val=NULL)
make.mtkFeatureList
signature(x=list())
name
:(character
) the name of the feature.
type
:(character
) the type of value managed by the feature.
val
:(ANY
) the value of the feature in the right type.
getName
signature( this = "mtkFeature"): Returns the value of the slot "name".
getValue
signature( this = "mtkFeature"): Returns the value of the slot "val".
getType
signature(this = "mtkFeature"): Returns the value of the slot "type".
setName
signature( this = "mtkFeature", name = "character"): Gives a new value to the slot "name".
setType
signature( this = "mtkFeature", type = "character"): Gives a new value to the slot "type".
setValue
signature(this = "mtkFeature", val = "ANY"): Gives a new value to the slot "val".
show
signature( object = "mtkFeature"): Prints a report of the data managed by the underlying object.
print
signature(x = "mtkFeature"): Prints the information managed by the underlying object.
Juhui WANG, MIA-jouy, INRA
1 2 3 4 5 6 7 8 | # Create an object of the 'mtkFeature' class.
f <- mtkFeature(name="x", type="double", val=0.0)
# We usually use the make.mtkFeatureList function to define a list of mtkFeature
# instead of the constructor of the mtkFeature class
flist <- make.mtkFeatureList(list(min=-1,max=+1,shape="hello"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.