set_simulation {pharmr}R Documentation

set_simulation

Description

Change model into simulation model

Usage

set_simulation(model, n = 1, seed = 64206)

Arguments

model

(Model) Pharmpy model

n

(numeric) Number of replicates

seed

(numeric) Random seed for the simulation

Value

(Model) Pharmpy model object

Examples

## Not run: 
model <- load_example_model("pheno")
model <- set_simulation(model, n=10, seed=1234)
steps <- model$execution_steps
steps[1]

## End(Not run)


[Package pharmr version 1.0.1 Index]