residuals.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'
residuals(object, space = NULL, ...)

Arguments

object

class "lmCoDa"

space

a character indicating in which space the prediction should be returned. Supported are the options c("clr", "simplex").

...

passed on to predict.lm()

Value

matrix or vector

Author(s)

Lukas Dargel


[Package CoDaImpact version 0.1.0 Index]