Learn R Programming

HandTill2001 (version 1.0.3)

ht01.multipleclass: Example Data for Multiple Classes

Description

Multiple class data and probability predictions thereof.

Arguments

Format

A data frame with 214 observations on the following 7 variables.

observed

a factor with levels Con Head Tabl Veh WinF WinNF

WinF

a numeric vector

WinNF

a numeric vector

Veh

a numeric vector

Con

a numeric vector

Tabl

a numeric vector

Head

a numeric vector

Details

Multiple class data ('observed': MASS::fgl$type) and probability predictions (predict(fgl.rp4), cf. Venables and Ripley (2002), p. 264 and ‘Source’) from rpart::rpart.

References

Venables, W. N and Ripley, B. D. (2002), Modern Applied Statistics with S (4th edition). Springer, ISBN 0-387-95457-0

Examples

Run this code

library(HandTill2001)
data(ht01.multipleclass)
str(ht01.multipleclass)

Run the code above in your browser using DataLab