mtkValue: The constructor of the class 'mtkValue'

Description Usage Arguments Value Author(s) Examples

Description

The constructor

Usage

1
mtkValue(name='unknown', type='', val=NULL)

Arguments

name

the name of the variable.

type

the type of the variable, i.e. double, integer, character, logical, null, etc.

val

the value of the variable. It may be a single or a vector of values.

Value

an object of the mtkValue class

Author(s)

Juhui WANG, MIA-jouy, INRA

Examples

1
2
3
# Create an object of 'mtkValue'

triple <- mtkValue('a', 'double', c(2.5,3.0))

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