initBanterModel {banter}R Documentation

Initialize BANTER model

Description

Initialize a BANTER model with event data.

Usage

initBanterModel(x)

Arguments

x

a data.frame of events. Every row is a unique event. Must have columns named event.id and species. All other columns will be used as predictor variables for the BANTER event classifier model.

Value

a banter_model object without any detector models.

Note

Values in the column species are passed through the make.names function on creation to ensure they don't include invalid characters.

Author(s)

Eric Archer eric.archer@noaa.gov

References

Rankin, S. , Archer, F. , Keating, J. L., Oswald, J. N., Oswald, M. , Curtis, A. and Barlow, J. (2017), Acoustic classification of dolphins in the California Current using whistles, echolocation clicks, and burst pulses. Marine Mammal Science 33:520-540. doi:10.1111/mms.12381

Examples

data(train.data)
# initialize BANTER model with event data
bant.mdl <- initBanterModel(train.data$events)
bant.mdl


[Package banter version 0.9.6 Index]