getFeatures-methods: The 'getFeatures' method

Description Usage Arguments Value Author(s) Examples

Description

Returns the features associated with the underlying factor.

Usage

1

Arguments

this

an object of the mtkFactor class

Value

a named list.

Author(s)

Hervé Richard, BioSP, Inra, Herve.Richard@avignon.inra.fr, Hervé Monod and Juhui WANG, MIA-jouy, INRA

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Define a factor
	x1 <- make.mtkFactor(name="x1", distribName="unif",
		 distribPara=list(min=-pi, max=pi))

# Define a list of features and associate it with the factor
	features <- make.mtkFeatureList(list(pre=5, post=60))
	setFeatures(x1, features)

# Return the features associated with the factor
	fl <- getFeatures(x1)

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