get_output: Transform input X to output Y

View source: R/get_output.R

get_outputR Documentation

Transform input X to output Y

Description

get_output transforms the input \boldsymbol x to the observed data \boldsymbol y given the transformation vector τ = (μ_x(\boldsymbol β), σ_x(\boldsymbol β), γ, α, δ).

This is the inverse of get_input.

Usage

get_output(x, tau, return.z = FALSE)

Arguments

x

a numeric vector of data values.

tau

named vector τ which defines the variable transformation. Must have at least 'mu_x' and 'sigma_x' element; see complete_tau for details.

return.z

should the shifted and scaled output also be returned? Default: FALSE.

Value

A numeric object of same size/dimension as input x.

If return.z = TRUE, then it returns a list with 2 vectors

z

shifted and scaled input \boldsymbol z,

y

transformed output data \boldsymbol y, which has a Lambert W \times F distribution.

See Also

get_input; Gaussianize with argument inverse = TRUE.


LambertW documentation built on Sept. 22, 2022, 5:07 p.m.