retrieve_model: retrieve_model

View source: R/functions_wrapper.R

retrieve_modelR Documentation

retrieve_model

Description

Retrieve a model from a context

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

Usage

retrieve_model(context, name)

Arguments

context

(Context) A previously opened context

name

(str) Name of the model or a qualified name with a subcontext path, e.g.

Value

(Model) The model object

Examples

## Not run: 
context <- open_context(ref='path/to/', name='modelsearch1')
model <- retrieve_model(context, 'run1')

## End(Not run)


pharmpy/pharmr documentation built on June 11, 2025, 11:56 a.m.