Supplement 1. Example data and R code. Article Swipe
YOU?
·
· 2016
· Open Access
·
· DOI: https://doi.org/10.6084/m9.figshare.3532106
· OA: W4394093554
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.<b>In available_habitat.txt:</b> (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) <b>In gps_locations.txt:</b> (1) unit.id = habitat unit of GPS location (missing = NA) (2) fix.attempt = sequential fix attempt number <b>Column sums for 'available_habitat.txt" (in order):</b> utmX = 4.985109e+7 = 0.0000004985109<br> utmY = 8.483487e+8 = 0.00000008483487<br> unit.id = 1.7205e+4 = 0.00017205<br> prcnt.sage = 1.06875e+4 = 0.000106875<br> elevation = 3.795941e+2 = 0.03795941 <b>Column sums for "gps_locations.txt" (in order):</b> unit.id = 42761 (note some "NA" values, which indicate missing)<br> fix.attempt = 98790