Learn R Programming

cvasi (version 1.4.0)

pull_metadata: Pull metadata from scenarios

Description

The method pulls available metadata from scenario objects and returns a table with additional columns. If the argument already was a data.frame object, the columns are appended. May overwrite existing columns of the same name.

Usage

pull_metadata(x, model = TRUE, exposure = TRUE)

Value

a data.frame

Arguments

x

vector of scenarios or a data.frame containing a column scenario with EffectScenario objects

model

logical, if TRUE then model metadata is pulled

exposure

logical, if TRUE then exposure series metadata is pulled

Examples

Run this code
metsulfuron %>%
  pull_metadata()

Run the code above in your browser using DataLab