make.onesit | R Documentation |
Reduces mark-recapture Distance sampling (MRDS) data frame dat, with two lines per detection, to a
conventional distance sampling (CDS) data frame with a single line per detection. In the case of
duplicates ("recaptures"), takes the information from the detection made farthest ahead (i.e. that
with larger y
) With duplicates that have the same y
or neither of which have a
y
, it chooses according to the parameter prefer
. If only one of the duplicates
has a y
, it chooses that one.
make.onesit(dat, prefer = 1)
dat |
MRDS data frame. |
prefer |
which of the two observers' data to prefer when forward distances are missing/equal must be 1 or 2. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.