transform_etas_tdist {pharmr}R Documentation

transform_etas_tdist

Description

Applies a t-distribution transformation to selected etas

Initial estimate for degrees of freedom is 80 with bounds (3, 100).

Usage

transform_etas_tdist(model, list_of_etas = NULL)

Arguments

model

(Model) Pharmpy model to apply t distribution transformation to.

list_of_etas

(array(str) or str (optional)) Name/names of etas to transform. If NULL, all etas will be transformed (default).

Value

(Model) Pharmpy model object

See Also

transform_etas_boxcox

transform_etas_john_draper

Examples

## Not run: 
model <- load_example_model("pheno")
model <- transform_etas_tdist(model, c("ETA_1"))
model$statements$before_odes$full_expression("CL")

## End(Not run)

[Package pharmr version 0.96.0 Index]