p.xy1: Calculate probability of detection at (x,y).

View source: R/cppfuns.R

p.xy1R Documentation

Calculate probability of detection at (x,y).

Description

C++ function to calculate probability of detection at (x,y), or if cdf=TRUE, BY (x,y).

Usage

p.xy1(
  Ix,
  Iy,
  Ihfun,
  Ib,
  Ipcu,
  IPi,
  Idelta,
  Iymax,
  Idy,
  Itheta_f,
  Itheta_b,
  Ially,
  Icdf
)

Arguments

Ix

Perpendicular distance.

Iy

Forward distance.

Ihfun

Hazard function name.

Ib

Hazard function parameter vector.

Ipcu

Bernoulli state-dependent probability parameters.

IPi

Markov model transition probability matrix.

Idelta

Markov model stationary distribution.

Iymax

Maximum forward distance in view.

Idy

Forward distance step increment.

Itheta_f

REDUNDANT; must = 0

Itheta_b

REDUNDANT; must = 90

Ially

Flag for whether or not to return probabilities at all forward distances in view.

Icdf

Flag for whether or not to return cumulative distribution function in forward dimension. This differes from specifying Ially=TRUE in that Ially=TRUE calculates the cdf from ymax to y=0, whereas Icdf=TRUE calculates the cdf from ymax to y.


david-borchers/hmltm documentation built on Oct. 29, 2023, 9:07 p.m.