chest {VGAM} | R Documentation |
Presence/absence of chest pain in 10186 New Zealand adults.
data(chest)
A data frame with 73 rows and the following 5 variables.
Each adult was asked their age and whether they experienced any pain or discomfort in their chest over the last six months. If yes, they indicated whether it was on their LHS and/or RHS of their chest.
MacMahon, S., Norton, R., Jackson, R., Mackie, M. J., Cheng, A., Vander Hoorn, S., Milne, A., McCulloch, A. (1995) Fletcher Challenge-University of Auckland Heart & Health Study: design and baseline findings. New Zealand Medical Journal, 108, 499–502.
data(chest) fit = vgam(cbind(nolnor, nolr,lnor,lr) ~ s(age, c(4,3)), binom2.or(exchan=TRUE, zero=NULL), data = chest) coef(fit, matrix=TRUE) ## Not run: plot(fit, which.cf=2, se=TRUE) ## End(Not run)