R/pollen_index.R
pollen_index.Rd
This function calculates the Pollen Index (PI), which is implemented as the average amount of annual pollen collected based on the input data
pollen_index(value, date)
pollen concentration values
dates
data(pollen_count) df <- subset(pollen_count, site == 'Oz') pollen_index(value = df$birch, date = df$date) #> [1] 5185.955