Learn R Programming

bossMaps (version 0.1.0)

pinside: Calculate the probability inside an expert range given a logistic decay

Description

Uses the logistic function to estimate the probability inside the range

Usage

pinside(dists, parms)

Arguments

dists
frequency table of unique distance values (output from running freq on the rdist object).
parms
A named vector of parameter values from logistic that describe the desired curve. These include all parameters for logistic (rate,skew,shift). Optionally, you can add a parameter buffer which adds a buffer around the range as 'inside.'

Value

Scalar of the estimated probability inside the range given the specified logistic decay (with optional buffer).