fit.occ.1method: Fit occupancy model with one detection method

Description Usage Arguments

Description

This function fits an occupancy model to simulated detection histories using the package unmarked for species that are detected using only one detection method A trend in occupancy is estimated from the simulated detection histories. Confidence intervals are calculated depending on the Type I error rate. A one-tailed or two-tailed significance test is then conducted on the trend parameter A one-tailed test looks to see if the upper or lower confidence interval is greater than or less than zero. A two-tailed test assesses whether both the upper and lower confidence intervals have the same sign (i.e. are both positive or negative). If park.power = TRUE, model fitting is repeated on sites from within each park-level management unit.

Usage

1
2
fit.occ.1method(method, repeats, s.years, n.sites, xy.sites, park.ID,
  park.level, powcnt, fail, pow.park, fail.park, value, ss, two.tailed, n.park)

Arguments

method

The detection method relevant to species ss

repeats

The number of repeat visits for the specified detection method

s.years

A vector specifying the years that monitoring occurs. Note, monitoring must be done in the final year (i.e. Tmax)

n.sites

The number of sites in which to simulate monitoring

xy.sites

The XY coordinates of monitored sites, plus the park site ID

park.ID

A vector identifying which park each site is in

park.level

Set to TRUE if power is estimated within park-level management unit, FALSE to estimate power only across the landscape

powcnt

A vector that keeps track of how many times a significant trend in occupancy is detected across the landscape

fail

A vector that keeps track of how many times the occupancy model could not be fitted to the simulated detection histories from all sites in the landscape

pow.park

A vector that keeps track of how many times a significant trend in occupancy is detected within each park

fail.park

A vector that keeps track of how many times the occupancy model could not be fitted to simulated detection histories generated from within each park

value

The critical value used to calculate confidence intervals around the trend parameter, depending on the Type I error rate and a one-tailed or two-tailed test

ss

An index to loop through each species

two.tailed

Set to TRUE if conducting a two-tailed test, FALSE to conduct a one-tailed test

n.park

The number of parks in which to estimate power


dsouthwell/TestPackagev2 documentation built on May 28, 2019, 9:38 a.m.