mkDygraph: 'mkDygraph' Make interactive dygraph of data with (optional)...

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

View source: R/mkDygraph.R

Description

mkDygraph Make interactive dygraph of data with (optional) detected lunges.

Usage

1
mkDygraph(l.data = tst)

Arguments

l.data

List of data obtained from run.d.wave.

Details

Pre-determined lunges (if present) are indicated by red solid points. Peaks detected using the 2D detector (if present) are represented by green solid points. Matched lunges/peaks are enclosed in purple diamonds.

Value

Creates an interactive plot where pre-determined lunges (if present), detected peaks (if present) and matched lunges & peaks.

Author(s)

Martin Biuw

See Also

run.d.wave to run d.wave on entire data record from an animal.

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, match.lunges, ncWhale, number.dive, optim.d.wave, read.depth, read.lunges, run.d.wave, whale2dstamp, wt.image.plot

Examples

1
2
3
4
5
6
d <- read.depth(whalename='mn16_Jan25b')
t <- read.lunges(whalename='mn16_Jan25b')
df <- join.dstamp(d, t)
df$dive <- number.dive(df$depth)
df <- run.d.wave(df)
mkDygraph(df)

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