markNA | R Documentation |
Marks values within a soundscape dataframe as NA according to provided time and (optionally) frequency values
markNA(x, na, by = NULL)
x |
dataframe of soundscape data to mark NAs in |
na |
dataframe listing areas to mark NA. Must have columns |
by |
optional column name in both |
same dataframe as x
but with some values replaced with NA
Taiki Sakai taiki.sakai@noaa.gov
manta <- loadSoundscapeData(system.file('extdata/MANTAExampleSmall1.csv', package='PAMscapes'))
naDf <- data.frame(start=min(manta$UTC),
end=max(manta$UTC),
freqMin=100,
freqMax=500)
plotHourlyLevel(manta)
plotHourlyLevel(markNA(manta, na=naDf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.