bottom.hac | R Documentation |
This function imports, for a given acoustic channel, the detected bottom range stored in the ping tuple of an HAC file.
bottom.hac(hac, channel = NULL, plot = FALSE, maxDepth = NULL)
hac |
name of an HAC file. |
channel |
acoustic channel number. |
plot |
logical. if |
maxDepth |
maximum depth (in m) represented in the plot. |
The acoustic channel is an integer, normally between 1 and n
, where n
is the number of frequencies used during data acquisition. When channel = 1
, data from the lowest acoustic frequency is imported, while channel = n
refers to the highest frequency present in the HAC file. By default, the function finds out the smallest channel number, because in some HAC files channel = 0
. When a graphical representation is desired (plot = TRUE
), the maximum displayed in the echogram depth can be provided as a negative integer with argument maxDepth
.
A data frame with two variables where every row represents one emitted ping:
pingTime |
time of emitted ping. |
detBottom |
detected depth range in m. |
Héctor Villalobos
hacfile <- system.file("hac", "D20150510-T202221.hac", package="echogram")
bottom.hac( hacfile )
bottom.hac( hacfile, plot = TRUE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.