mtkParameter: The constructor of the class 'mtkParameter'

Description Usage Arguments Value Author(s) Examples

Description

The constructor of the class mtkParameter. See alos make.mtkParameterList

Usage

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

Arguments

name

(character) the name of the parameter.

type

(character) the type of the parameter such as 'numeric', 'double', 'logical', etc..

val

(ANY) the value of the parameter.

Value

an object of the mtkParameter class

Author(s)

Juhui WANG, MIA-jouy, INRA

Examples

1
2
3
4
5
6
7
8
# Create an object of the 'mtkParameter' class.

p <- mtkParameter(name="x", type="double", val=0.0)

# We usually use the 'make.mtkParameterList()' function to define 
# a list of 'mtkParameter' instead of the constructor 
# of the 'mtkParameter' class
	flist <- make.mtkParameterList(x=list(min=-1,max=+1))

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