mtkFactor classmtkFactorname:id:name.unit:type:domain:mtkDomain object that describes
  the factor's uncertainty.featureList:initializemtkFactor.getNamegetTypegetDomainmtkDomain.getDistributionNamegetDistributionNominalValuegetDistributionNominalValueTypegetDiscreteDistributionTypegetDiscreteDistributionLevelsgetDiscreteDistributionWeightsgetDistributionParametersgetFeaturesgetMTKFeaturesmtkFeature.setNamesetDomainsetTypesetFeaturesaFList may be a vector of objects 
from the class mtkFeature or a named list from which we can build a list of features.printshowmtkFactor.
# Manage a factor x1 with  a mtkFactor object.
	x1 <- make.mtkFactor(name="x1", distribName="unif",
		 distribPara=list(min=-pi, max=pi)) 
	getName(x1)
	getDomain(x1)
	getDistributionName(x1)
	getType(x1) 
	setType(x1, "double")
	getType(x1); # 'double'
Run the code above in your browser using DataLab