GetHist: Computes PDF of observed detections for each (x,y) cell...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Computes PDF of observed detections for each (x,y) cell around the observer.

Usage

1
2
3
GetHist(working_parameter, range, transdat, auxiliary_data, delta,
  num_cells, T, ymax, buffer, fixed_sd = 0, hzfn = 1L,
  move_method = 1L)

Arguments

working_parameter

unconstrained version of parameter vector containing (detection shape, detection scale, diffusion sd)

range

to compute out to in x and y directions

transdat

matrix with (stripsize(1), numcells in y, totaltimestep, number of observations)

auxiliary_data

vector containing (area x extent, area y extent, strip width, transect_type)

delta

vector of (dx, dt) spacetime increments

num_cells

number of cells in (total space, x-direction, y-direction)

T

total time of survey for longest transect

ymax

maximum length of a transect

buffer

buffer distance

fixed_sd

if move_method = 2

hzfn

hazard function code (see ?hazardfns)

move_method

0 = 2d CDS model, 1 = 2d MDS model (movement estimated), 2 = 2d MDS model (movement fixed)

Value

matrix where (i,j) entry is cell i*dx perpendicular and j*dx forward of observer unpack auxiliary data


r-glennie/moveds documentation built on Dec. 9, 2019, 9:42 p.m.