Learn R Programming

SticsRFiles (version 1.7.0)

get_dev_stages: Get developmental stages from simulations

Description

Extracts the values of developmental stages from simulations

Usage

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
)

Value

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

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.

Author

Timothee Flutre

See Also

get_sim

Examples

Run this code
if (FALSE) {
simulations <- get_sim(workspace)
get_dev_stages(simulations, "iplts")
}

Run the code above in your browser using DataLab