score {transx}R Documentation

Score transformation

Description

Stable lifecycle

These functions calculate the scores according to:

Usage

score_z(x, na.rm = getOption("transx.na.rm"))

score_mad(x, na.rm = getOption("transx.na.rm"))

score_t(x, na.rm = getOption("transx.na.rm"))

score_chisq(x, na.rm = getOption("transx.na.rm"))

Arguments

x

⁠[univariate vector]⁠

Univariate vector, numeric or ts object with only one dimension.

na.rm

⁠[logical(1): getOption("transx.na.rm")]⁠

A value indicating whether NA values should be stripped before the computation proceeds.

Details

Because function are known with different names:

Value

Returns a vector with the same class and attributes as the input vector.

See Also

scores

Examples


x <- seq(-3,3,0.5)
score_z(x)
score_mad(x)
score_t(x)


[Package transx version 0.0.1 Index]