review {mort} | R Documentation |
Review previously identified mortalities using new data
Description
Uses new data to determine if an animal that was previously flagged as a mortality made a station/location change and may therefore be alive.
Usage
review(
morts,
new.data,
old.data = NULL,
type,
ID,
station,
res.start = "auto",
res.end = NULL,
residences = NULL,
units = NULL,
ddd = NULL,
from.station = NULL,
to.station = NULL,
verbose = TRUE
)
Arguments
morts |
a dataframe with previously flagged mortalities. Format does
not need to match |
new.data |
a dataframe of new residence events (i.e., generated from
detection data that were not included in earlier |
old.data |
optional dataframe of residence events that were used
in earlier |
type |
the method used to generate the residence events. Options are
"mort", "actel", "glatos", "vtrack", or "manual". If "manual", then user
must specify |
ID |
a string of the name of the column in |
station |
a string of the name of the column in |
res.start |
a string of the name of the column in |
res.end |
an optional string of the name of the column in |
residences |
an optional character string with the name of the column
in |
units |
optional units of the duration of the residence events in
|
ddd |
a dataframe of stations/locations where detected movement between stations may be due to drifting of an expelled tag or dead animal. |
from.station |
a string of the name of the column in |
to.station |
a string of the name of the column in |
verbose |
option to display progress bar as function and called functions are run. Default is TRUE. |
Value
A dataframe with one row for each tag ID from morts
with a station/location change that was identified
in new.data
. The remaining fields will include the information for the
residence event that was identified as the station change, so the station
change can be verified by the user before removing the animal from morts
.
All input data fields (e.g., any name, location, or species information
that was included with the input data) will be retained.
Examples
morts<-morts(data=events,type="mort",ID="ID",station="Station.Name",
method="any",verbose=FALSE)
undead<-review(morts=morts,new.data=new.data,
type="mort",ID="ID",station="Station.Name",verbose=FALSE)