transform {FLCore}R Documentation

Transform elements of a complex FLR object

Description

Modification of individual elements of a complex FLR object can be carried out using transform. A series of named arguments, corresponding to the slots to modify can be provided to the method. Existing slots can be referred simply by its name on the right handside on the argument expressions (see example below).

Generic function

transform(_data, ...)

Methods

signature(_data=FLComp) :
Method for all complex FLR classes that extend FLComp-class

Author(s)

The FLR Team

See Also

transform

Examples

data(ple4)
ple4 <- transform(ple4, m.spwn=m.spwn+0.2)
m.spwn(ple4)

[Package FLCore version 2.2 Index]