Learn R Programming

Simile (version 1.3.4)

set.model.parameter: Sets a model parameter with data in an array

Description

A model parameter may be a single value or an array of values. This function allows it to be set.

Usage

set.model.parameter(param.handle,data, as.enum.types)

Value

None

Arguments

param.handle

The handle returned by create.param.array() identifying the location to send the data.

data

The data to be used in the model, either a single value or an array with the appropriate dimensions

as.enum.types

Logical: whether the values are supplied using enumerated type names if applicable. Default is false: values are numerical.

Author

Jasper Taylor

Examples

Run this code
set.model.parameter("dummy_ph", array(c(4,4,3,4,2,5,5,2,1,5), c(2,5)))

Run the code above in your browser using DataLab