Learn R Programming

Fahrmeir (version 2016.5.31)

headneck: Head and Neck Cancer data

Description

Data from a head and neck cancer study where time was discretized by one-month intervals.

Usage

data(headneck)

Arguments

Format

A data frame with 47 observations on the following 4 variables.
month
a numeric vector
atrisk
a numeric vector, number at risk
deaths
a numeric vector
withdrawals
a numeric vector

Source

Ludwig Fahrmeir, Gerhard Tutz (1994): Multivariate Statistical Modelling Based on Generalized Linear Models. Springer Series in Statistics. Springer Verlag. New-York Berlin Heidelberg

Examples

Run this code
str(headneck) 
summary(headneck)
with(headneck, {plot(month, atrisk, type="s");
                lines(month, deaths, type="s", col="red");
                lines(month, withdrawals, type="S", col="green")})

Run the code above in your browser using DataLab