# NOT RUN {
# Load data.table
library(data.table)
# Read in example data
ndvi <- fread(system.file("extdata", "sampled-ndvi-MODIS-MOD13Q1.csv", package = "irg"))
# Calculate IRG for each day of the year and individual
out <- irg(ndvi)
# }
Run the code above in your browser using DataLab