resid-methods: Methods for function 'residd'

Description Usage Arguments Methods Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
#####  data = seizure

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

resid(seiz1M)[1:16]

cold documentation built on Aug. 25, 2021, 5:06 p.m.