Learn R Programming

mtk (version 1.0)

getValue-methods: The getValue method

Description

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

Usage

getValue(this)

Arguments

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

Value

Examples

Run this code
# 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)

Run the code above in your browser using DataLab