Description Usage Arguments Details Value
Used in constructor() to initialize figure generation object. Native rgcam project data is structured a list of scenarios, where each scenario is a list of queries. Project data needs to be structured as a list of queries, where each query is a single dataframe. Query data for all scenarios needs to be saved as a single data.frame in order to produce plots that compare scenarios.
1 | dataRestructure(proj, transf, scenarios, queries)
|
proj |
rgcam project, a list of scenarios |
transf |
list of functions, each named for query it restructures |
scenarios |
character vector, scenarios in project data |
queries |
character vector, queries in project data |
User-provided transformation functions can aggregate over unnecessary columns, reformat columns (eg: split on "_"), or map the keys in a column to a different set of keys with a mapping file.
list of dataframes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.