retrieve_models {pharmr}R Documentation

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)

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

Value

(vector) List of retrieved model objects

Examples

## Not run: 
tooldir_path <- 'path/to/tool/directory'
models <- retrieve_models(tooldir_path, names=c('run1'))

## End(Not run)


[Package pharmr version 1.0.1 Index]