rxErrTypeCombine: Combine transformations and error structures

View source: R/err.R

rxErrTypeCombineR Documentation

Combine transformations and error structures

Description

Combine error information to figure out what transformation is being applied for the current endpoint

Usage

rxErrTypeCombine(oldErrType, newErrType)

Arguments

oldErrType

This is the old transformation, by default is zero representing no prior transformation. This parameter is first to allow piping. When the parameter addTransform is missing and oldErrType is a character value, this functions swaps oldErrType and addTransform and assigns oldErrType to zero assuming that there is no prior distribution.

newErrType

This is the new distribution that is being "added" to the current transformation. These assumes the inputs are in the preferred distribution name, as determined by rxPreferredDistributionName()

Value

The new transformation as a factor

Author(s)

Matthew Fidler

Examples


rxErrTypeCombine("probitNorm")

rxErrTypeCombine("probitNorm") %>%
  rxErrTypeCombine("boxCox")



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