Learn R Programming

pollen (version 0.82.0)

pollen_index: A Pollen Index Function

Description

This function calculates the Pollen Index (PI), which is implemented as the average amount of annual pollen collected based on the input data

Usage

pollen_index(value, date)

Arguments

value

pollen concentration values

date

dates

Examples

Run this code
# NOT RUN {
data(pollen_count)
df <- subset(pollen_count, site == 'Oz')
pollen_index(value = df$birch, date = df$date)
# }

Run the code above in your browser using DataLab