Description Usage Arguments Value Examples
Provide unbiased estimates on the original scale from an analysis of variance model with a log transformed response.
1 | predAntilog(aovfit, xdata, logbase = exp(1), k = 0)
|
aovfit |
An object of class c("aov", "lm"). |
xdata |
A data frame with predictor variables corresponding to those in
|
logbase |
A numeric scalar, the base of the log transformation used in
the transformed response of |
k |
A numeric scalar, the constant added to the response prior to transformation, default 0. |
A numeric vector of predicted values on the original scale of the response.
1 2 | fit <- aov(log(yield) ~ block + N * P + K, npk)
predAntilog(fit, npk)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.