Description Usage Arguments Value References Examples
The function transforms the dependent variable of a linear model using the Log transformation. The Log transformation is only defined for positive response values. In case the response contains zero or negative values a shift is automatically added such that y + shift > 0.
1 | logtrafo(object)
|
object |
an object of type lm. |
An object of class trafo
. Methods such as
as.data.frame.trafo
and print.trafo
can
be used for this class.
Box GEP, Cox DR (1964). An Analysis of Transformations. Journal of the Royal Statistical Society B, 26(2), 211-252.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.