Create a data.frame with time-series information by simulation and year
Source:R/get_data_frames.R
get_at_age_ts.Rd
Create a data.frame with time-series information by simulation and year
Arguments
- x
An object of class
Hist
,MSE
, or a list ofHist
orMSE
objects- variable
A character string with a valid name for a time-series variable. Use
valid_ts_variables()
for valid variable names.- model
An optional name for the model. If
x
is a list of objects,model
will be taken fromnames(x)
. Ifnames(x)
isNULL
,model
will be given sequential numerical values (e.g.,Model 1
,Model 2
, ...)- scale
An optional function with a single numeric argument that returns transformed or scaled numeric values. See
lb2kg
andkg2lb
for example. Can be a list of functions for list objects (NA for no transformation)