marg (version 1.2-2.1)

family.rsm: Use family() on a ``rsm'' object

Description

This is a method for the function family() for objects from which a family.rsm object can be extracted. Typically a fitted rsm model object. See family for the general behaviour of this function.

Usage

# S3 method for rsm
family(object, …)

Arguments

object

any object from which a family.rsm object can be extracted.

absorbs any additional argument.

See Also

family.rsm.object, family

Examples

Run this code
# NOT RUN {
## Sea Level Data
data(venice)
attach(venice)
Year <- 1:51/51
c11 <- cos(2*pi*1:51/11) ; s11 <- sin(2*pi*1:51/11)
c19 <- cos(2*pi*1:51/18.62) ; s19 <- sin(2*pi*1:51/18.62)
venice.rsm <- rsm(sea ~ Year + I(Year^2) + c11 + s11 + c19 + s19, 
                  family = extreme)
family(venice.rsm)
detach()

## House Price Data
data(houses)
houses.rsm <- rsm(price ~ ., family = student(5), data = houses)
family(houses.rsm)
# }

Run the code above in your browser using DataLab