resid.symcoca: Extract Model Residuals

Description Usage Arguments Value Author(s) See Also Examples

Description

Extracts the residuals of the fitted model of a symmetric CoCA to the response and the predictor.

Usage

1
2
## S3 method for class 'symcoca'
resid(object, ...)

Arguments

object

an object of class "symcoca".

...

arguments to be passed to other methods.

Value

A list containing the residuals for the response and the predictor with the following components:

Y

residuals of the fit to the repsonse.

X

residuals of the fit to the predictor.

Author(s)

Gavin L. Simpson

See Also

symcoca

Examples

1
2
3
4
data(bryophyte)
data(vascular)
bryo.sym <- coca(bryophyte ~ ., data = vascular, method = "symmetric")
eps <- resid(bryo.sym)

cocorresp documentation built on May 2, 2019, 5:16 p.m.