mtkFeature: The constructor of the class 'mtkFeature'

Description Usage Arguments Value Author(s) Examples

Description

The constructor of the class mtkFeature. See also make.mtkFeatureList.

Usage

1
mtkFeature(name='unknown', type='logical', val=NULL)

Arguments

name

(character) the name of the feature.

type

(character) the data type managed by the feature such as 'numeric', 'double', 'logical', etc..

val

(ANY) the value of the feature.

Value

an object of the mtkFeature class

Author(s)

Juhui WANG, MIA-jouy, INRA

Examples

1
2
3
4
5
6
7
8
# creates a feature "he"
	f <- mtkFeature(name='he', type ='character', val = 'pekin')
	
# We usually use the 'make.mtkFeatureList()' function to define 
# a list of 'mtkFeature' instead of the constructor 
# of the 'mtkFeature' class

	flist <- make.mtkFeatureList(list(min=-1,max=+1,shape="hello"))

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