bct.v | R Documentation |
bct.v
returns the Box-Cox transformed numeric vector (Box and Cox,
1964).
bct.v(y, lmdint = c(-3, 3))
y |
a positive real number vector. |
lmdint |
a vector containing the end-points of the interval to be searched for a transformation parameter. Default is c(-3, 3). |
bct.v
returns the Box-Cox transformed numeric vector and
estimated transformation parameter.
transformed
The Box-Cox transformed numeric vector.
lambda
a numeric value of the estimate of the transformation parameter.
Box, G.E.P. and Cox, D.R. (1964). An analysis of transformations (with discussion). Journals of the Royal Statistical Society, Series B, 26, 211-246, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/j.2517-6161.1964.tb00553.x")}.
y <- exp(rnorm(50))
bct.v(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.