dot-rxTransform: rxode2 general transformation function

.rxTransformR Documentation

rxode2 general transformation function

Description

rxode2 general transformation function

Usage

.rxTransform(
  x,
  lambda = 1,
  low = 0,
  high = 1,
  transform = c("boxCox", "yeoJohnson", "untransformed", "lnorm", "logit",
    "logit + yeoJohnson", "probit", "probit + yeoJohnson", "logit + boxCox",
    "probit + boxCox"),
  inverse = FALSE
)

Arguments

x

value that will be transformed

lambda

lambda value for the transformation

low

lower bound for the transformation

high

upper bound for the transformation

transform

transformation to use (can be integer or string matching supported transformations)

inverse

boolean if the inverse transformation should be performed

Value

transformed value

Author(s)

Matthew L. Fidler

Examples


logit(0.25)

.rxTransform(0.25, transform="logit")

expit(-1.09)

.rxTransform(-1.09, transform="logit", inverse=TRUE)


nlmixr2/rxode2 documentation built on Jan. 11, 2025, 8:48 a.m.