SHASH_to_normal: SHASH to normal data transformation

View source: R/SHASH.R

SHASH_to_normalR Documentation

SHASH to normal data transformation

Description

Transform SHASH-distributed data to normal-distributed data.

Usage

SHASH_to_normal(x, mu, sigma, nu, tau, inverse = FALSE)

Arguments

x

Numeric vector of data to transform.

mu

Parameter that modulates the mean of x.

sigma

Parameter that modulates the variance of x. Must be greater than zero. This parameter is on the logarithm scale.

nu

Parameter that modulates the skewness of x.

tau

Parameter that modulates the tailweight of x. Must be greater than zero. This parameter is on the logarithm scale.

inverse

Transform normal data to SHASH instead? Default: FALSE.

Value

The transformed data.


fMRIscrub documentation built on Oct. 25, 2023, 9:07 a.m.