Sets a model parameter with data in an array

Share:

Description

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

Usage

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

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.

Value

None

Author(s)

Jasper Taylor

Examples

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