# integrateTimeserie: Integration of timeserie In phenex: Auxiliary Functions for Phenological Data Analysis

## Description

Extracts the integral of the vegetation index between start and end date.

## Usage

 `1` ```integrateTimeserie(x, start, end, n) ```

## Arguments

 `x` An object of class ‘NDVI’ containing modelled NDVI values. `start` A list containing the starting date(s) for integration as ‘mean’ and its standard deviation(s) as ‘sd’. Use a list with multiple entries (as vector) for ‘mean’ and ‘sd’ if the NDVI object contains multiple seasons. `end` A list containing the end date(s) for integration as ‘mean’ and its standard deviation(s) as ‘sd’. Use a list with multiple entries (as vector) for ‘mean’ and ‘sd’ if the NDVI object contains multiple seasons. `n` The number ‘n’ of normal distributed values to create around start and end date.

## Value

A list containing the integral(s) as ‘mean’ and a standard devation(s) ‘sd’.

## Author(s)

Daniel Doktor, Maximilian Lange

## See Also

`NDVI`, `integrate`

## Examples

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14``` ``` # load data data(avhrr) # create NDVI object, correct and model NDVI values ndvi <- modelNDVI(ndvi.values=avhrr.ndvi/10000, year.int=1995, correction="bise", method="LinIP", MARGIN=2, doParallel=FALSE, slidingperiod=40)[[1]] # extract greenup DOY greenup <- phenoPhase(ndvi, phase="greenup", method="local", threshold=0.55, n=1000) senesc <- phenoPhase(ndvi, phase="senescence", method="local", threshold=0.55, n=1000) # extract green season integrated vegetation index gsivi <- integrateTimeserie(ndvi, start=greenup, end=senesc, n=1000) ```

### Example output

```
```

phenex documentation built on May 1, 2019, 10:56 p.m.