Learn R Programming

rDotNet (version 0.9.1)

.cset: Set a property value on a .NET object

Description

This function sets the value of a property on previously created .NET object.

Usage

.cset(obj, propertyname, value)

Arguments

obj

Previously created .NET object

propertyname

name of the property to set

value

property value to set to

Examples

Run this code
# NOT RUN {
obj <- .cnew ("com.stg.models.FastMFT")
obj$Set("Alpha", 0.90)
obj$Set("Gamma", 1e-4)

gamma <- obj$Get("Gamma")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab