waitakere {VGAM} | R Documentation |
The waitakere
data frame has 579 rows and 18 columns.
Altitude is explanatory, and there are binary responses
(presence/absence = 1/0 respectively) for 17 plant species.
data(waitakere)
This data frame contains the following columns:
These were collected from the Waitakere Ranges, a small forest in northern Auckland, New Zealand. At 579 sites in the forest, the presence/absence of 17 plant species was recorded, as well as the altitude. Each site was of area size 200m^2.
Dr Neil Mitchell, University of Auckland.
data(waitakere) fit = vgam(agaaus ~ s(altitude, df=2), binomialff, waitakere) ## Not run: plot(fit, se=TRUE, lcol="red", scol="blue") ## End(Not run) predict(fit, waitakere, type="response")[1:3]