mtkFactor: The constructor of the class 'mtkFactor'

Description Usage Arguments Value Author(s) Examples

Description

The constructor of the class mtkFactor. See also the function make.mtkFactor

Usage

1
2
	mtkFactor(name="unkown", id="unkown", unit="", type="numeric",
			 domain=mtkDomain(), featureList=list())

Arguments

name

a string to name the factor.

id

a string giving the id of the factor in the code.

unit

a string giving the measurement unit of the factor levels.

type

a string giving the data type of the factor levels.

domain

an object of the class mtkDomain giving the uncertainty domain associated with the factor.

featureList

a list giving the uncertainty domain associated with the factor. It may be a list of objects from the class mtkDomain or a named list defining the features.

Value

an object of the mtkFactor class

Author(s)

Juhui WANG, MIA-jouy, INRA

Examples

1
2
3
4
5
6
7
# Create an object of the class mtkExpFactor
	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))

mtk documentation built on May 2, 2019, 4:15 a.m.