Description Class Hierarchy Constructor Slots Methods Author(s) Examples
The class used to manage an input factor and its uncertainty distribution.
mtkFactorsignature(name="unkown", id="unkown", unit="", type="numeric", domain=mtkDomain(), featureList=list())
name:the name of the input factor.
id:the name of the factor in the simulation code, if different
from name.
unit:the measurement units of the factor values. This can be used in graphics or reports, for example.
type:the data type of the factor's values.
domain:the mtkDomain object that describes
the factor's uncertainty.
featureList:the list of features that may be associated with the factor.
initializesignature(.Object = "mtkFactor"): The initializer of the class mtkFactor.
getNamesignature(this="mtkFactor"): Fetches the name of the factor.
getTypesignature(this = "mtkFactor"): Returns the data type of the factor's levels.
getDomainsignature(this="mtkFactor"): Fetches the domain associated with the factor. It returns an object of the class mtkDomain.
getDistributionNamesignature(this="mtkFactor"): Fetches the name of the distribution associated with the uncertainty domain.
getDistributionNominalValuesignature(this="mtkFactor"): Fetches the nominal value of the distribution associated with the uncertainty domain.
getDistributionNominalValueTypesignature(this="mtkFactor"): Fetches the data type associated with the uncertainty domain.
getDiscreteDistributionTypesignature(this="mtkFactor"): Returns the discrete distribution type.
getDiscreteDistributionLevelssignature(this="mtkFactor"): Returns the levels managed by a discrete distribution.
getDiscreteDistributionWeightssignature(this="mtkFactor"): Returns the weights managed by a discrete distribution.
getDistributionParameterssignature(this="mtkFactor"): The getDistributionParameters method.
getFeaturessignature(this="mtkFactor"): Returns the features as a named list.
getMTKFeaturessignature(this="mtkFactor"): Returns the features as a vector of objects from the class mtkFeature.
setNamesignature(this = "mtkFactor", name = "character"): Gives a new name to the factor.
setDomainsignature(this = "mtkFactor", domain = "mtkDomain"): Associates a new domain with the factor.
setTypesignature(this = "mtkFactor", type = "character"): Names explicitly the data type managed by the factor.
setFeaturessignature(this="mtkFactor",aFList="list): Gives new features to the factor. aFList may be a vector of objects
from the class mtkFeature or a named list from which we can build a list of features.
printsignature(x = "mtkFactor"): Prints the data managed by the factor.
showsignature(object = "mtkFactor"): Displays the underlying object of the class mtkFactor.
Juhui WANG and Hervé Monod, MIA-jouy, INRA, Hervé Richard, BioSP, INRA
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.