a list with three items, events
, detectors
, and
na
. If value of training
is not 0, 1, TRUE
, or
FALSE
, output will be split into training
and
test
lists that contain events
and detectors
.
events
is a dataframe with two columns. event.id
is a
unique identifier for each event, taken from the names of the event
list. species
is the species classification, taken from the
species
slot labelled id
. detectors
is a list
of data frames containing all the detections and measurements. There is
one list for each unique detector type found in the detectors
slots
of x
. The data frames will only have columns with class
numeric
, integer
, factor
, or logical
, and
will also have columns named UID
, Id
, parentID
,
sampleRate
, Channel
, angle
, and angleError
,
removed so that these are not treated as parameters for the banter random
forest model. The dataframes will also have columns event.id
and
call.id
added. na
contains the UIDs and Binary File names
for any detections that had NA values. These cannot be used in the
random forest model and are removed from the exported dataset.