import.all.rene: 'import.all.rene' Import all data records from Dtag /Little...

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

View source: R/import.all.rene.R

Description

import.all.rene Import all data records from Dtag /Little Leonardo deployments

Usage

1
2
3
import.all.rene(directory = "./Data/Rene data/lunge_res",
  gps.dir = "./Data/Rene data/shp",
  gpsCRS = "+proj=utm +zone=33 +ellps=intl +units=m +no_defs")

Arguments

directory

Directory where dive /accelerometer data are stored

gps.dir

Directory where GPS data are stored

crs

Coordinate Reference System (CRS) to be used (default is UTM zone 33, appropriate for Norwegian coast).

Details

NOTE! This function creates new objects in the working environment automatically, with names corresponding to the whale deployment names. No need therefore to save the results into a new object.

Value

Returns a list with components raw, containing the raw imported dive/accelerometer data, dive containing specific dive data, lunge containing lunge data

Author(s)

Martin Biuw

See Also

matLunge to read lunge data, matDive to read dive data, ncWhale to read data from standard netCDF tagtools file, gpsWhale to read GPS position data, whale2dstamp to convert to dstamp format that can be used in 2D lunge detection with validation (e.g. run.d.wave)

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

Examples

1
2
3
4
import.all.rene()
## Then add new object \code{ds} to each resulting list, in dstamp format ready for d.wave:
file.pos <- ls()[grep('mn1', ls())]
for(i in file.pos) eval(parse(text=paste(i, '$ds <- whale2dstamp(', i, ')', sep='')))

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