Skip to contents

research pure tone

Usage

search.tone(x, statistic = energetic.mean, plot.tone = FALSE)

Arguments

x

is a dataframe with llfmin...

statistic

is statistic used default is energetic.mean

plot.tone

is logic argument default is false don't plot result

Value

plot of 1/3 octave frequency and isofonic curve A (ISO 226:1987)

Author

Pasquale Scordino p.scordino@arpa.piemonte.it

Simone Sperotto s.sperotto@arpa.piemonte.it

Examples

# Search pure tone from PTFA dataset
# dataframe have to contain date and LLfmin (minor value of Linear level frequency)
search.tone(PTFA[, c(3:38)], plot.tone = FALSE)
#> [1] "Tone frequency: NA" "Tone level: NA"     "Isophonic: NA"     

# Plot result
search.tone(PTFA[, c(3:38)], plot.tone = TRUE)
#> Warning: Removed 7 rows containing missing values or values outside the scale range
#> (`geom_line()`).