Description Usage Arguments Details Value Note Examples
A change function for modelNameClass
and modelVersionClass
.
1 | change.nameversion(name,version,authors,availableModels)
|
name |
(model name) is an object of class |
version |
(model version) is an object of class |
authors |
(model authors) is an object of class |
availableModels |
is a character vector containing model names that are available in the current rrisk session |
This function is not intended to be called directly but is internally called
during rrisk
session.
This function returns edited model slots 'name' and 'version'.
This function requires some functions from the package tcltk
.
1 2 3 4 5 | model<-init.Model1()
# It is not possible to change model name to "my model"
newvalues<-change.nameversion(model@name,model@version,model@authors,
availableModels=c("my model"))
newvalues
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.