binSoundscapeData {PAMscapes}R Documentation

Summarise Soundscape Data by Time Bin

Description

Bins soundscape measurements by a unit of time and summarises them using a function (usually the median)

Usage

binSoundscapeData(x, bin = "1hour", FUN = median)

Arguments

x

a data.frame of soundscape metric data read in with checkSoundscapeInput

bin

amount of time to bin data by, format can be "#Unit" e.g. '2hour' or '1day'

FUN

summary function to apply to data in each time bin

Value

a summarised version of the input data.frame x

Author(s)

Taiki Sakai taiki.sakai@noaa.gov


[Package PAMscapes version 0.7.0 Index]