Learn R Programming

mtk (version 1.0)

mtkValue: The constructor of the class mtkValue

Description

The constructor

Usage

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

mtkValue class

Examples

Run this code
# Create an object of 'mtkValue'

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

Run the code above in your browser using DataLab