Ryan M. Nielson, Bryan F. J. Manly, Lyman L. McDonald, Hall Sawyer, and Trent L. McDonald. 2009. Estimating habitat selection when GPS fix success is less than 100%. Ecology 90:2956–2962.


Supplement

Example data and R code.
Ecological Archives
E090-211-S1
.

Copyright


Authors
File List
Description


Author(s)

Ryan M. Nielson
Western EcoSystems Technology, Inc.
200 S. Second St., Suite B, Laramie, WY 82070
email: rnielson@west-inc.com

Bryan F. J. Manly
Western EcoSystems Technology, Inc.
200 S. Second St., Suite B, Laramie, WY 82070
email: bmanly@west-inc.com

Lyman L. McDonald
Western EcoSystems Technology, Inc.
200 S. Second St., Suite B, Laramie, WY 82070
email: lmcdonald@west-inc.com

Hall Sawyer
Western EcoSystems Technology, Inc.
200 S. Second St., Suite B, Laramie, WY 82070
email: hsawyer@west-inc.com

Trent L. McDonald
Western EcoSystems Technology, Inc.
200 S. Second St., Suite B, Laramie, WY 82070
email: tmcdonald@west-inc.com


File list

available_habitat.txt - data file representing the available habitat

gps_locations.txt - data file representing the GPS location data

Rcode.R - R code to analyze the example data using the RSF likelihood for GPS fix success

all_files.zip - all files at once

Description

Rcode.R analyzes the example data, which is one of the simulated data sets with 90% GPS fix success contained in the Nielson et al. paper. There are two data files (available_habitat.txt and gps_locations.txt) representing the available habitat and the GPS location data, respectively. The example data can be analyzed by saving both data files to a working directory, opening an R session and copying and pasting all text below at the R command prompt. Select quantities are output to the terminal. The description of columns in the data files is provided below.

In available_habitat.txt:

(1) utmX = utm easting coordinate of habitat unit

(2) utmY = utm northing coordinate of habitat unit

(3) unit.id = habitat unit ID

(4) prcnt.sage = % Wyoming Big Sage

(5) elevation = elevation (km)

In gps_locations.txt:

(1) unit.id = habitat unit of GPS location (missing = NA)

(2) fix.attempt = sequential fix attempt number

Column sums for 'available_habitat.txt" (in order):

utmX = 4.985109e+7 = 0.0000004985109
utmY = 8.483487e+8 = 0.00000008483487
unit.id = 1.7205e+4 = 0.00017205
prcnt.sage = 1.06875e+4 = 0.000106875
elevation = 3.795941e+2 = 0.03795941

Column sums for "gps_locations.txt" (in order):

unit.id = 42761 (note some "NA" values, which indicate missing)
fix.attempt = 98790


ESA Publications | Ecological Archives | Permissions | Citation | Contacts