Learn R Programming

gam (version 1.22-5)

kyphosis: A classic example dataset for GAMs

Description

Data on the results of a spinal operation "laminectomy" on children, to correct for a condition called "kyphosis"; see Hastie and Tibshirani (1990) for details

Usage

data(kyphosis)

Arguments

Format

A data frame with 81 observations on the following 4 variables.

Kyphosis

a response factor with levels absent present.

Age

of child in months, a numeric vector

Number

of vertebra involved in the operation,a numeric vector

Start

level of the operation, a numeric vector