addon | R Documentation |
Lists the addon SyncroSim package(s) associated with a
SsimLibrary
or Session
.
These packages can only be used to extend existing SyncroSim base packages;
as a result they cannot be used to create new SsimLibraries.
For example, stsimsf is an addon for stsim which provides optional
additional functionality for the base ST-Sim model.
More information on addons can be found in the
syncrosim documentation.
addon(ssimObject) ## S4 method for signature 'character' addon(ssimObject) ## S4 method for signature 'missingOrNULL' addon(ssimObject) ## S4 method for signature 'Session' addon(ssimObject) ## S4 method for signature 'SsimObject' addon(ssimObject)
ssimObject |
|
A data.frame listing the addon(s) in use by the SsimLibrary or Session to which the object belongs.
# Install the base package "stsim" addPackage("stsim") # Set the file path and name of the new SsimLibrary myLibraryName <- file.path(tempdir(),"testlib") # Set the SyncroSim Session and SsimLibrary mySession <- session() myLibrary <- ssimLibrary(name = myLibraryName, session = mySession) # Retrieve a data.frame of available add-on(s) for the SsimLibrary addon(myLibrary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.