scenarioId | R Documentation |
Retrieves the scenarioId of a Scenario
.
scenarioId(scenario)
## S4 method for signature 'character'
scenarioId(scenario)
## S4 method for signature 'Scenario'
scenarioId(scenario)
scenario |
|
Integer id of the input Scenario.
## Not run:
# Set the file path and name of the new SsimLibrary
myLibraryName <- file.path(tempdir(),"testlib")
# Set the SyncroSim Session, SsimLibrary, Project, and Scenario
mySession <- session()
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession)
myProject <- project(myLibrary, project = "Definitions")
myScenario <- scenario(myProject, scenario = "My Scenario")
# Get Scenario ID of Scenario
scenarioId(myScenario)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.