transf: Utils: Data transformation (Box-Cox, 1964)

Description Usage Arguments Value Author(s) References Examples

View source: R/transf_function.R

Description

Estimates the lambda value for data transformation

Usage

1
transf(response, f1, f2 = NA, f3 = NA, block = NA, line = NA, column = NA)

Arguments

response

Numerical vector containing the response of the experiment.

f1

Numeric or complex vector with factor 1 levels

f2

Numeric or complex vector with factor 2 levels

f3

Numeric or complex vector with factor 3 levels

block

Numerical or complex vector with blocks

line

Numerical or complex vector with lines

column

Numerical or complex vector with columns

Value

Returns the value of lambda and/or data transformation approximation, according to Box-Cox (1964)

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

References

Box, G. E., Cox, D. R. (1964). An analysis of transformations. Journal of the Royal Statistical Society: Series B (Methodological), 26(2), 211-243.

Examples

1
2
data("pomegranate")
with(pomegranate, transf(WL,trat))

AgronomiaR/AgroR documentation built on Nov. 14, 2021, 12:10 a.m.