View source: R/download_model.R
download_model | R Documentation |
Downloads pre-compiled models from the circus-repository. The circus-repository contains a variety of fitted models to help the systematic testing of other packages
download_model(
name,
url = "https://raw.github.com/easystats/circus/master/data/",
extension = ".rda",
verbose = TRUE
)
name |
Model name. |
url |
String with the URL from where to download the model data.
Optional, and should only be used in case the repository-URL is
changing. By default, models are downloaded from
|
extension |
File extension. Default is |
verbose |
Toggle messages and warnings. |
The code that generated the model is available at the https://easystats.github.io/circus/reference/index.html.
A model from the circus-repository, or NULL
if model could
not be downloaded (e.g., due to server problems).
https://easystats.github.io/circus/
download_model("aov_1")
try(download_model("non_existent_model"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.