Wiley
Browse
1/1
3 files

Supplement 1. Examples of R code to fit models.

dataset
posted on 2016-08-09, 10:24 authored by David A. Miller, James D. Nichols, Brett T. McClintock, Evan H. Campbell Grant, Larissa L. Bailey, Linda A. Weir

File List

FalsePositiveLikelihoods.R
FPdatasets.Rdata

Description

The FalsePositiveLikelihoods.R file contains scripts for R (ver 2.12.1) to calculate each of the basic likelihoods presented in the paper. The script calls the example datasets FPdatasets.Rdata which give examples fitting the same data set using each of the models. The script also gives an example for estimating occupancy when detection is a function of a covariate (dist).

History