Learn R Programming

boa (version 1.1.8-2)

boa.transform: Transform Variables

Description

Applies a log or logit transformation to map bounded variables to the entire real line.

Usage

boa.transform(x, support, inv = FALSE)

Arguments

x
Numeric object to be transformed.
support
Vector giving the lower and upper limits of the support for the untransformed data. Unbounded lower or upper limits should be specified as -Inf or Inf, respectively.
inv
Logical value indicating that the inverse transformation should be applied.

Value

Transformed or inverse-transformed analogue of 'x'.