Learn R Programming

VGAM (version 0.8-1)

waitakere: Waitakere Ranges Data

Description

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.

Usage

data(waitakere)

Arguments

source

Dr Neil Mitchell, University of Auckland.

Details

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 200$m^2$.

See Also

hunua.

Examples

Run this code
fit = vgam(agaaus ~ s(altitude, df=2), binomialff, waitakere)
plot(fit, se=TRUE, lcol="red", scol="blue")
head(predict(fit, waitakere, type="response"))

Run the code above in your browser using DataLab