get_parameter_rv {pharmr}R Documentation

get_parameter_rv

Description

Retrieves name of random variable in :class:pharmpy.model.Model given a parameter.

Usage

get_parameter_rv(model, parameter, var_type = "iiv")

Arguments

model

(Model) Pharmpy model to retrieve parameters from

parameter

(str) Name of parameter to retrieve random variable from

var_type

(str) Variability type: iiv (default) or iov

Value

(vectorc(str)) A vector of random variable names for the given parameter

See Also

get_rv_parameters

has_random_effect

get_pk_parameters

get_individual_parameters

Examples

## Not run: 
model <- load_example_model("pheno")
get_parameter_rv(model, 'CL')

## End(Not run)

[Package pharmr version 1.0.1 Index]