Extracts the values of developmental stages from simulations

get_dev_stages(
  sim,
  dev_vars = c("iplts", "imbs", "ilets", "igers", "idebdorms", "ifindorms", "ilevs",
    "iamfs", "ilaxs", "ilats", "iflos", "idrps", "inous", "idebdess", "imats", "irecs"),
  usm = NULL
)

Arguments

sim

A list, where each element is a data.frame of simulation results for the given usm. The list is named after the USM name.

dev_vars

Vector of output variables corresponding to developmental stages.

usm

Vector of USM names. Optional, if not provided, the function returns the results for all USMs.

Value

List of data.frame, one per USM, with one row per developmental stage.

See also

Author

Timothee Flutre

Examples

if (FALSE) { # \dontrun{
simulations <- get_sim(workspace)
get_dev_stages(simulations, "iplts")
} # }