transformTurkey: Performsturkey power transformation on a vector

Description Usage Arguments Value

Description

Takes in a vector and conducts Tukey's Ladder of Powers on a vector of values to produce a more-normally distributed vector of values

Usage

1
transformTurkey(x, start, end, int, plotit, verbose, quiet, statistic, returnLambda)

Arguments

x

A vector of values

start

The starting value of lambda to try

end

The ending value of lambda to try

int

The interval between lambda values to try

plotit

If TRUE, produces plots of Shapiro-Wilks W or Anderson-Darling A vs. lambda, a histogram of transformed values, and a quantile-quantile plot of transformed values

verbose

If TRUE, prints extra output for Shapiro-Wilks W or Anderson-Darling A vs. lambda

quiet

If TRUE, doesn't print any output to the screen

statistic

If 1, uses Shapiro-Wilks test. If 2, uses Anderson-Darling test

returnLambda

If TRUE, returns only the lambda value, not the vector of transformed values

Value

The transformed vector of values.


akunuriYoshitha/BestTransform documentation built on Feb. 19, 2021, 3:23 a.m.