Skip to contents

Returns a vector of acoustic percetile

Usage

AcuDNPercentile(df, parameter, from, to, period)

Arguments

df

is a dataframe with Leq data

parameter

is a parameter, example "LAeq"

from

is start hour

to

is end hour

period

is a period night or day

Value

a list of acoustic percentil values by night and daily period

Author

Pasquale Scordino p.scordino@arpa.piemonte.it

Simone Sperotto s.sperotto@arpa.piemonte.it

Examples

# Calculate reverse quantile of a dataframe by period

data("exampleHourlyData")

AcuDNPercentile(df = exampleHourlyData,
                parameter = "leq",
                from = "5",
                to = "22",
                period = "night")[1:5]
#> [[1]]
#>     L1     L5    L10    L50    L90    L95    L99 
#> 72.767 72.235 70.940 69.550 51.950 51.420 50.204 
#> 
#> [[2]]
#>     L1     L5    L10    L50    L90    L95    L99 
#> 71.448 70.840 70.620 69.850 50.750 48.425 47.285 
#> 
#> [[3]]
#>     L1     L5    L10    L50    L90    L95    L99 
#> 71.843 71.615 71.060 69.550 52.250 50.770 48.794 
#> 
#> [[4]]
#>     L1     L5    L10    L50    L90    L95    L99 
#> 72.656 72.080 71.280 70.000 52.560 51.350 49.550 
#> 
#> [[5]]
#>     L1     L5    L10    L50    L90    L95    L99 
#> 70.770 70.650 70.500 69.600 51.450 49.575 48.795 
#>