obsProb: obsProb

Description Usage Arguments Value Examples

Description

Function that produces empirical estimates of probability to detect a foreign species, and associated costs based on varying occurrences, detectabilities and survey schemes.

Usage

1
obsProb(occProb, detectProb, locations, visits, visitCost)

Arguments

occProb

vector of occurence probabilities to test

detectProb

vector of detection probabilities

locations

vector of number of locations to visit/sample

visits

vector of number of visits per sample

visitCost

vector of costs of each visit

nBoot

number of bootstrap samples to calculate std error of percent detected

Value

Returns a tibble where percDetected shows in percentage, how many times it is expected to find at least one record of the species, given the occurrence probabilities in each location, the detection probabilities if it is present, the number of locations sampled, and the number of samples per location. It also shows the standard error on the estimated percentage detected, based on the bootstrap

Examples

1
2
3
4
5
6
7
8
9
{
tt <- detectProp(occProb = seq(0.01, 0.9, by = 0.05),
detectProb = 0.8,
locations = 30,
visits =  4,
visitCost = 10,
nBoot =  9999)

}

NINAnor/SurveyPower documentation built on May 7, 2019, 10:43 p.m.