Learn R Programming

SpaDES (version 1.0.1)

envir: Simulation environment

Description

Accessor functions for the .envir slot in a simList object. These are included for advanced users. objs<- requires takes a named list of values to be assigned in the simulation envirment.

Usage

envir(object)

## S3 method for class 'simList':
envir(object)

envir(object) <- value

## S3 method for class 'simList':
envir(object) <- value

objs(object, ...)

## S3 method for class 'simList':
objs(object, ...)

objs(object) <- value

## S3 method for class 'simList':
objs(object) <- value

Arguments

object
A simList simulation object.
value
The object to be stored at the slot.
...
arguments passed to ls, allowing, e.g. all.names=TRUE

Value

  • Returns or sets the value of the slot from the simList object. Returns or sets a list of objects in the simList environment.

Details

Currently, only get and set methods are defined. Subset methods are not.

See Also

simList-class, simList-accessors-modules, simList-accessors-params, simList-accessors-events, simList-accessors-times. simList-class, simList-accessors-modules, simList-accessors-params, simList-accessors-events, simList-accessors-times.