getFactorFeatures-methods: The 'getFactorFeatures' method

Description Usage Arguments Value Author(s) Examples

Description

Returns the features associated with the managed factors.

Usage

1

Arguments

this

an object of the mtkExpFactors class

Value

a named list.

Author(s)

Juhui WANG, MIA-jouy, INRA

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# Define three factors
	x1 <- make.mtkFactor(name="x1", distribName="unif",
		 distribPara=list(min=-pi, max=pi))
		 
# Define a list of features and associate it with the factor x1
	features <- make.mtkFeatureList(list(pre=5, post=60))
	setFeatures(x1, features) 
		 
	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))

# Build an object of the "mtkExpFactors" class
	ishi.factors <- mtkExpFactors(list(x1,x2,x3))

# Get the features of the managed factors as a list
	factors <- getFactorFeatures(ishi.factors)

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