irg: IRG

Description Usage Arguments Details Value See Also Examples

View source: R/irg.R

Description

Wrapper function for one step IRG calculation. Only defaults.

Usage

1
irg(DT)

Arguments

DT

data.table of NDVI time series

Details

data.table must have columns:

Value

Extended data.table 'irg' column of instantaneous rate of green-up calculated for each day of the year, for each individual and year.

See Also

Other irg: calc_irg()

Examples

1
2
3
4
5
6
7
8
# 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)

irg documentation built on Dec. 22, 2021, 9:06 a.m.