Description Usage Arguments Details Value Author(s) Examples
View source: R/join.echogram.R
This function allows to join two echograms.
1 | join.echogram(echogram1, echogram2)
|
echogram1 |
an object of |
echogram2 |
an object of |
This function is designed to join echograms of the same acoustic frequency, giving an error if frequencies differ. Desirably, echograms should be contiguous in space and time, but as this is not verified, it is possible to join non-contiguous echograms.
An object of class
“echogram” resulting from the merging operation.
Héctor Villalobos
1 2 3 4 5 6 7 8 9 10 11 | # import 38 kHz data from two consecutive HAC files
hacfile1 <- system.file("hac", "D20150510-T202221.hac", package = "echogram")
echo1.038 <- read.echogram(hacfile1, channel = 1)
hacfile2 <- system.file("hac", "D20150510-T202500.hac", package = "echogram")
echo2.038 <- read.echogram(hacfile2, channel = 1)
# join into one echogram
echo.038 <- join.echogram(echo1.038, echo2.038)
str(echo.038)
echogram(echo.038)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.