# 95th percentile monthly o3 concentrations
percentiles <- calcPercentile(mydata, pollutant ="o3",
avg.time = "month", percentile = 95)
head(percentiles)
# 5, 50, 95th percentile monthly o3 concentrations
if (FALSE) {
percentiles <- calcPercentile(mydata, pollutant ="o3",
avg.time = "month", percentile = c(5, 50, 95))
head(percentiles)
}
Run the code above in your browser using DataLab