Predictions, fitted values, residuals, and coefficients in CoDa models
Source:R/class-lmCoDa.R
coef.lmCoDa.Rd
These functions work as in the usual lm object.
They additionally offer the possibility use the space
argument
which transforms them into directly into clr space or in the simplex.
Usage
# S3 method for lmCoDa
coef(object, space = NULL, split = FALSE, ...)
Arguments
- object
class "lmCoDa"
- space
a character indicating in which space the prediction should be returned. Supported are the options
c("clr", "simplex")
.- split
logical, if
TRUE
the coefficients are reported as a list instead of a matrix, where list structure reflects the explanatory variables of the model- ...
not used