getFactors-methods: The 'getFactors' method

Description Usage Arguments Value Author(s) Examples

Description

Retunrs the managed factors.

Usage

1
getFactors(this)

Arguments

this

the underlying object of the class mtkExpFactors.

Value

a list of objects from the class mtkFactor.

Author(s)

Juhui WANG, MIA-jouy, INRA

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Build an object of the "mtkExpFactors" class
	ishi.factors <- mtkExpFactors()
	
# Define the factors
	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))
# Assign and return the factors to the mtkExpFactors' object

	setFactors(ishi.factors, list(x1,x2,x3))
	getFactors(ishi.factors)

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