C++ function to calculate probability of detection at (x,y), or if cdf=TRUE, BY (x,y).
1 2 | p.xy1(Ix, Iy, Ihfun, Ib, Ipcu, IPi, Idelta, Iymax, Idy, Itheta_f, Itheta_b,
Ially, Icdf)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.