View source: R/binSoundscapeData.R
binSoundscapeData | R Documentation |
Bins soundscape measurements by a unit of time and summarises them using a function (usually the median)
binSoundscapeData(
x,
bin = "1hour",
method = c("median", "mean"),
binCount = FALSE,
extraCols = NULL
)
x |
a data.frame of soundscape metric data read in with loadSoundscapeData |
bin |
amount of time to bin data by, format can
be "#Unit" e.g. |
method |
summary function to apply to data in each time bin, must be one of "median" or "mean" |
binCount |
logical flag to return the number of times in each time bin as column "binCount" |
extraCols |
Additional non-frequency columns in |
a summarised version of the input data.frame x
Taiki Sakai taiki.sakai@noaa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.