Description Usage Format Details Source References Examples
GPS collar data of mountain goats (Oreamnos americanus) from Lele and Keim (2006).
1 |
A data frame with 19014 observations on the following 8 variables.
STATUSa numeric vector, 1: used, 0: available
IDa numeric vector, individuals
ELEVATIONa numeric vector (m)
SLOPEa numeric vector (degrees, steep)
ETa numeric vector, access to escape terrain (distance from steep slopes, m)
ASPECTa numeric vector (degrees)
HLIa numeric vector, heat load index (0-1)
TASPa 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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.