resid-methods {cold}R Documentation

Methods for function residd

Description

Methods for function resid extracting residual values of a fitted model object from class cold.

Usage

## S4 method for signature 'cold'
resid(object, type = c( "pearson","response","null"),...)

Arguments

object

an object of class cold.

type

an optional character string specifying the type of residuals to be used. Two types are allowed: pearson and response. Defaults to "pearson".

...

other arguments.

Methods

signature(object="cold"):

residuals for cold object.

Examples


#####  data = seizure

seiz1M <- cold(y ~ lage + lbase + v4 + trt + trt:lbase, data = seizure, 
start = NULL, dependence = "AR1")

resid(seiz1M)[1:16]


[Package cold version 2.0-3 Index]