extractFmFe | R Documentation |
extractFmFe
extracts fm and fe data from a simulator output Excel
file. A tab named "Time variant %fm and fe" must be present to get dynamic
fm and fe values, and a tab named "% fm and fe SS" must be present to get
static values. Dynamic fm and fe data are required if you want to use these
data with the function fm_plot
to make a graph of how the fm
values change over time.
extractFmFe(
sim_data_file,
static_or_dynamic = "dynamic",
returnOnlyMaxMin = TRUE,
returnAggregateOrIndiv = "both",
existing_exp_details = NA
)
sim_data_file |
name of the Excel file containing the simulated dynamic fm and fe data, in quotes |
static_or_dynamic |
get "static" or "dynamic" (default) fm values. "static" will retrieve information from the "% fm and fe SS" tab, if present, and "dynamic" will retrieve it from the "Time variant %fm and fe" tab. |
returnOnlyMaxMin |
TRUE (default) or FALSE for whether to return only maximum and minimum fm values for dynamic fm values – basically, return the table in the upper left corner of the "Time variant %fm and fe" tab. |
returnAggregateOrIndiv |
Return aggregate and/or individual simulated fm and fe data? This currently only applies to the dynamic fms and has not yet been developed for the static fms, which will only return aggregate data at present. Options are "individual", "aggregate", or "both" (default). Aggregated data are not calculated here but are pulled from the simulator output rows labeled as "mean". |
existing_exp_details |
If you have already run
|
a data.frame
# None yet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.