Learn R Programming

SLRMss (version 1.0.0)

residuals.SLRMss: Extract residuals model for SLRMss objects

Description

This function provides the residuals of a SLRMss model.

Usage

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

Value

Residuals extracted from a SLRMss object.

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.

Examples

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

Run the code above in your browser using DataLab