Learn R Programming

VGAM (version 1.1-2)

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

Format

This data frame contains the following columns:

agaaus

Agathis australis, or Kauri

beitaw

Beilschmiedia tawa, or Tawa

corlae

Corynocarpus laevigatus

cyadea

Cyathea dealbata

cyamed

Cyathea medullaris

daccup

Dacrydium cupressinum

dacdac

Dacrycarpus dacrydioides

eladen

Elaecarpus dentatus

hedarb

Hedycarya arborea

hohpop

Species name unknown

kniexc

Knightia excelsa, or Rewarewa

kuneri

Kunzea ericoides

lepsco

Leptospermum scoparium

metrob

Metrosideros robusta

neslan

Nestegis lanceolata

rhosap

Rhopalostylis sapida

vitluc

Vitex lucens, or Puriri

altitude

meters above sea level

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
# NOT RUN {
fit <- vgam(agaaus ~ s(altitude, df = 2), binomialff, waitakere)
head(predict(fit, waitakere, type = "response"))
# }
# NOT RUN {
 plot(fit, se = TRUE, lcol = "orange", scol = "blue") 
# }

Run the code above in your browser using DataLab