struc: Construct a struc Object

View source: R/flexstruc.R

strucR Documentation

Construct a struc Object

Description

Create model structure objects (see struc-class), which are symbolic scalars, vectors, and matrices with elements that are expressions involving parameters, state variables.

Usage

struc(...)

scal(...)

vec(...)

mat(...)

as.struc(x)

Arguments

...

character vectors or matrices

x

object to convert to a struc object

Details

scal, vec, and mat are similar to struc, but ensure that the resulting struc objects are scalars, vectors, or matrices respectfully.

struc objects can be created in other ways and symbolically manipulated using the functions listed below in the 'see also' section.

Value

struc object – see struc-class

See Also

Other struc_functions: cross_mat(), struc_block(), struc_stretch()


bbolker/McMasterPandemic documentation built on Aug. 25, 2024, 6:35 p.m.