getValue-methods: The 'getValue' method

Description Usage Arguments Value Author(s) Examples

Description

Returns the name and the value managed by an object of the underlying class.

Usage

1
getValue(this)

Arguments

this

an object of the class mtkValue or its sub-classes.

Value

a named variable

Author(s)

Juhui WANG, MIA-jouy, INRA

Examples

1
2
3
4
5
6
# Create an object of the 'mtkValue'
	v <- mtkValue(name="x", type="string", val="2.2")
	
# Fetch the value of the object as a named variable: x = "2.2"

	getValue(v)

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