Learn R Programming

pharmr (version 1.4.0)

retrieve_models: retrieve_models

Description

Retrieve models after a tool run

Any models created and run by the tool can be retrieved.

Usage

retrieve_models(source, names = NULL)

Value

(vector) List of retrieved model objects

Arguments

source

(str or Context) Source where to find models. Can be a path (as str or Path), or a Context

names

(array(str) (optional)) List of names of the models to retrieve or NULL for all

Examples

Run this code
if (FALSE) {
tooldir_path <- 'path/to/tool/directory'
models <- retrieve_models(tooldir_path, names=c('run1'))
}

Run the code above in your browser using DataLab