getOrCreateExperimentState | R Documentation |
Gets an experiment state by stateKind if it exists, or creates a new one if not.
getOrCreateExperimentState(experiment, stateType, stateKind, recordedBy,
lsTransaction,
lsServerURL = racas::applicationSettings$client.service.persistence.fullpath)
experiment |
an experiment object |
stateType |
lsType of the state |
stateKind |
lsKind of the state |
recordedBy |
the current username |
lsTransaction |
the id of the transaction |
lsServerURL |
the url for the roo server |
This will fail if the experiment has more than one non-ignored state of entered stateKind, as it would be unclear which to update.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.