find_sigma: Iteratively find sigma for half-normal detection function

Description Usage Arguments Value Examples

View source: R/find_sigma.R

Description

Because I'm too lazy to work out the math for calculating sigma (SD) precisely, I created this function to iteratively find sigma (SD) for a half-normal detection function. It assumes a half-normal detection function with SD = sigma.

Usage

1
find_sigma(start = 0.1, W = 20, p_true = 0.42)

Arguments

start

starting guess (default is fine)

W

known transect half-width

p_true

known detection probability

Value

sd of normal distribution to the nearest 0.01

Examples

1

philipshirk/nmmsims documentation built on Feb. 26, 2020, 11:27 a.m.