
Create a data.frame with time-series information by simulation and year
Source:R/get_data_frames.R
get_at_age_ts.RdCreate a data.frame with time-series information by simulation and year
Arguments
- x
An object of class
Hist,MSE, or a list ofHistorMSEobjects- 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
xis a list of objects,modelwill be taken fromnames(x). Ifnames(x)isNULL,modelwill 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
lb2kgandkg2lbfor example. Can be a list of functions for list objects (NA for no transformation)