chart | R Documentation |
Create or open a Chart
from a SyncroSim
Project
.
chart(ssimObject = NULL, chart = NULL, create = FALSE, summary = FALSE)
ssimObject |
|
chart |
character or integer. If character, then will either open an
existing chart if |
create |
logical. Whether to create a new chart if the chart name given
already exists in the SyncroSim library. If |
summary |
logical. If |
A Chart
object representing a SyncroSim chart
## 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,
packages = "stsim")
myProject <- project(myLibrary, project = "My Project")
myScenario <- scenario(myProject, scenario = "My Scenario")
# Create a new chart
myChart <- chart(myProject, chart = "New Chart")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.