therMizerSim: Constructor for the 'therMizerSim' class

therMizerSimR Documentation

Constructor for the therMizerSim class

Description

A constructor for the therMizerSim class. This is used by the project_therMizer method to create therMizerSim objects of the right dimensions. It is not necessary for users to use this constructor.

therMizerSim constructor taking only a therMizerParams object.

Usage

therMizerSim(object, ...)

## S4 method for signature 'therMizerParams'
therMizerSim(object, t_dimnames = NA,
  t_max = 100, t_save = 1)

Arguments

object

a therMizerParams object

...

Other arguments (currently not used).

t_dimnames

Numeric vector that is used for the time dimensions of the slots. Default = NA.

t_max

The maximum time step of the simulation. Only used if t_dimnames = NA. Default value = 100.

t_save

How often should the results of the simulation be stored. Only used if t_dimnames = NA. Default value = 1.

Value

An object of type therMizerSim

See Also

project_therMizer therMizerParams therMizerSim

Examples

## Not run: 
data(NS_species_params_gears)
data(inter)
params <- therMizerParams(NS_species_params_gears, inter)
sim <- project_therMizer(params)

## End(Not run)

pwoodworth-jefcoats/Size-Based-Modeling documentation built on Sept. 15, 2023, 8:13 a.m.