coef.lmCoDa {CoDaImpact}R Documentation

Predictions, fitted values, residuals, and coefficients in CoDa models

Description

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 class '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

Value

a matrix

Author(s)

Lukas Dargel


[Package CoDaImpact version 0.1.0 Index]