Description Usage Arguments Details Value Examples
View source: R/2DLTfunctions.r
Returns product of perp dist det prob px() and animal dbn pi.x
1 | p.pi.x(x, b, hr, ystart, pi.x, logphi, w)
|
x |
scale or vector; perp. distance observations |
hr |
hazard rate function |
ystart |
max forward distance at which could possibly detect animal (see details). |
pi.x |
perpendicular distance density distribution |
w |
perpendicular truncation distance. |
y |
scalar or vector; forward distance observations |
pars |
c(b,logphi); hazard rate and density log-parameters in a vector (see details). |
length.b |
length of the hazard rate parameter vector |
Must to ensure the hazard function has decayed to (very close to) zero by ystart.
The parameter vector, pars, must be passed in with two parameters for the hazard rate first,
then two parameters for perpendicular density gradient π(x) i.e. c(b,logphi).
negative log likelihood for forward distance, y and perpendicular distance x.
1 | p.pi.x(x,b,hr,ystart,pi.x,logphi,w)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.