Learn R Programming

mcmodule (version 1.1.1)

mc_keys: Get Monte Carlo Node Keys

Description

Extracts key columns from Monte Carlo node's associated data.

Usage

mc_keys(mcmodule, mc_name, keys_names = NULL)

Value

Dataframe with scenario_id and requested key columns

Arguments

mcmodule

Monte Carlo module containing nodes and data

mc_name

Name of the node to extract keys from

keys_names

Vector of column names to extract (optional)

Examples

Run this code
keys_df <- mc_keys(imports_mcmodule, "w_prev")

Run the code above in your browser using DataLab