check_model | R Documentation |
model
is validCheck if the model
is valid
Will stop if not.
check_model(model)
model |
the |
Nothing. Will stop if model
is invalid.
Richèl J.C. Bilderbeek
# An example file
model_filename <- get_gcaer_filename("M0.json")
model <- read_model_file(model_filename)
check_model(model)
if (is_gcae_repo_cloned()) {
# A GCAE file
model_filename <- get_gcae_model_filename("M0")
model <- read_model_file(model_filename)
check_model(model)
model_filename <- get_gcae_model_filename("M1")
model <- read_model_file(model_filename)
check_model(model)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.