match.lunges: 'match.lunges' Lunge matching function

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/detect.lunges.R

Description

match.lunges Lunge matching function

Usage

1

Arguments

data

Data frame with pre-determined lunges and detected peaks to be matched

window

Period before and after detected peak within which pre-determined peaks are considered matched

Details

NOTE! THis function is called by run.d.wave, so usually does not have to be run

Value

list with 2 objects: matched, logical vector indicating which peaks were matched (or not) to a pre-determined lunge, confusion, confusion matrix summarizing classification accuracy

Author(s)

Martin Biuw

See Also

run.d.wave to run 2D detector on entire data record,

Other Lunge detector functions: d.wave.TDR.original, d.wave.TDR, d.wave, dstamp.plot, filter.lunges, gpsWhale, import.all.rene, join.dstamp, matDive, matLunge, mkDygraph, ncWhale, number.dive, optim.d.wave, read.depth, read.lunges, run.d.wave, whale2dstamp, wt.image.plot

Examples

1
matched <- match.lunges(df)

embiuw/dWave documentation built on April 24, 2020, 11:52 a.m.