View source: R/inference_runs.R
find_runs | R Documentation |
This function is a higher-level wrapper around list_runs
to aid in run discovery
find_runs(
project = NULL,
project_version_id = NULL,
model_type = NULL,
model_version = NULL,
min_draws = 100,
extra_fields = c()
)
project |
Project name. If NULL, defaults to value of environment variable GECO_API_PROJECT |
project_version_id |
Project version. If NULL, defaults to the most recent version of the project if provided, or the value of environment variable GECO_API_PROJECT_VERSION |
model_type |
(character vector) filter to runs with this model type, as one of: joint, survival, biomarker. NULL to disable this filter. |
model_version |
(character vector) filter to runs with this model version string. NULL to disable this filter. |
min_draws |
(scalar int) filter to runs with >= this many draws combined across all chains. NULL to disable this filter. |
extra_fields |
(character vector) names of additional fields to include in the summary. See results of |
A run is generated by a model and a dataset. This function retrieves the key features for all runs meeting certain criteria within a project version.
The returned 'data.frame' combines information about the run, model, and datasets for each run.
Authentication (see login
) is required prior to using this function
and this pulls the list of parameter names from the Generable API.
A project can be specified by using the project name or a specific project version.
If a project is specified using the name, data is fetched for the latest version of the project.
If a project is specified using the project version, the project name is not required.
If neither a project nor a project version is provided, the default project or project version is used. These are set by the environment variables GECO_API_PROJECT and GECO_API_PROJECT_VERSION
a data frame with key metadata about the run.
list_runs
, list_models
, list_datasets
,
fetch_quantiles
, fetch_draws
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.