Description Usage Arguments Value Examples
Get model objects from World.
1 | get_models(x, model_names, as_r6model = FALSE)
|
x |
a World object. |
model_names |
a character vector of the named Model objects to be retrieved. |
as_r6model |
default as FALSE, if TRUE all |
a named list
containing Model objects
1 2 3 4 | create_toy_world()
testModel <- list(a = 1)
world$add(testModel, "testModel")
get_models(world, "testModel")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.