residuals.SLRMss {SLRMss}R Documentation

Extract residuals model for SLRMss objects

Description

This function provides the residuals of a SLRMss model.

Usage

## S3 method for class 'SLRMss'
residuals(object, H0 = FALSE, std = FALSE, ...)

Arguments

object

An object of class SLRMss.

H0

If TRUE, choose the residuals under null hypothesis, if FALSE, choose the residuals under alternative hypothesis (default).

std

If TRUE, choose the standardized residuals, if FALSE, choose the non-standardized residuals (default).

...

Currently ignored.

Value

Residuals extracted from a SLRMss object.

Examples

data(orange)
fit <- SLRMss(emulsion ~ arabicgum + xanthangum + orangeoil, family="Student",
xi=3, testingbeta="xanthangum", statistic="LR", data=orange)
residuals(fit)

[Package SLRMss version 1.0.0 Index]