Last chance! 50% off unlimited learning
Sale ends in
GlaucomaM
data has 196 observations in two classes.
62 variables are derived from a confocal laser scanning image of the
optic nerve head, describing its morphology. Observations are from
normal and glaucomatous eyes, respectively.data("GlaucomaM")
The observations in both groups are matched by age and sex to prevent any bias.
data(GlaucomaM)
errorest(Class ~ ., data=GlaucomaM, model=rpart,
predict=function(obj, newdata)
predict(obj, newdata, type="class"),
control=rpart.control(xval=0))
glbagg <- bagging(Class ~ ., data=GlaucomaM, coob=TRUE)
glbagg
Run the code above in your browser using DataLab