View source: R/manageProjectData.R
dropScenarios | R Documentation |
This function removes one or more scenarios from a project data set and
returns the newly modified data. If this operation is performed on a file,
the file is also modified. If it is performed on a data set that has already
been loaded, then the change is passed onto the file only if writeback
is set to TRUE.
dropScenarios(proj, scenarios, invert = FALSE, writeback = is.character(proj))
proj |
Project data or data file name. |
scenarios |
Name(s) of the scenario(s) to drop |
invert |
If |
writeback |
If |
Technically is is possible to pass a filename for proj
with
writeback
set to FALSE
. This usage will cause the data set to
be loaded and filtered without modifying the original, albeit in a somewhat
nonintuitive way.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.