goats | R Documentation |
GPS collar data of mountain goats (Oreamnos americanus) from Lele and Keim (2006).
data(goats)
A data frame with 19014 observations on the following 8 variables.
STATUS
a numeric vector, 1: used, 0: available
ID
a numeric vector, individuals
ELEVATION
a numeric vector (m)
SLOPE
a numeric vector (degrees, steep)
ET
a numeric vector, access to escape terrain (distance from steep slopes, m)
ASPECT
a numeric vector (degrees)
HLI
a numeric vector, heat load index (0-1)
TASP
a numeric vector, transformed aspect
Mountain goat telemetry data were collected in the Coast Mountains of northwest British Columbia, Canada, as described in Lele and Keim (2006).
Ecological Archives E087-181-S1, http://www.esapubs.org/archive/ecol/E087/181/
Lele, S. R. & Keim, J. L. (2006) Weighted distributions and estimation of resource selection probability functions. Ecology 87, 3021–3028.
data(goats)
str(goats)
summary(goats)
## Not run:
goats$exp.HLI <- exp(goats$HLI)
goats$sin.SLOPE <- sin(pi * goats$SLOPE / 180)
goats$ELEVATION <- scale(goats$ELEVATION)
goats$ET <- scale(goats$ET)
goats$TASP <- scale(goats$TASP)
m1 <- rspf(STATUS ~ TASP + sin.SLOPE + ELEVATION, goats, m=0, B = 99)
m2 <- rspf(STATUS ~ TASP + ELEVATION, goats, m=0, B = 99)
summary(m1)
summary(m2)
AIC(m1, m2)
plot(m1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.