RESTREND: RESTREND (RESidual TREND)

Description Usage Arguments Value Author(s) Examples

View source: R/RESTREND.R

Description

For ts with no significant breakpoints in the residuals or the VPR. Takes annual VI max and it associated optimal accumulated precipitation

Usage

1
2
3
4
5
6
7
8
RESTREND(
  anu.VI,
  acu.RF,
  VI.index,
  acu.TM = NULL,
  sig = 0.05,
  retnonsig = FALSE
)

Arguments

anu.VI

The annual (Growing season) max VI. Must be a object of class 'ts' without NA's. if anu.VI=FALSE, it will be calculated from the CTSR.VI using AnMaxVI.

acu.RF

The optimal accumulated rainfall for anu.VI. Must be a object of class 'ts' without NA's and be of equal length and temporal range to anu.VI. if anu.RF=FALSE, it will be calculated from ACP.table usingthe AnnualClim.Cal

VI.index

the index of the CTSR.VI ts that the anu.VI values occur at. Must be the same length as anu.VI. NOTE. R indexs from 1 rather than 0. if VI.index=FALSE, it will be calculated from the CTSR.VI using AnMaxVI.

acu.TM

The optimal accumulated rainfall for anu.TM. Must be a object of class 'ts' without NA's and be of equal length and temporal range to anu.TM. if anu.TM=FALSE, it will be calculated from ACT.table usingthe AnnualClim.Cal

sig

Significance of all the functions. defualt sig=0.05

retnonsig

Bool. New in v0.3.0. Allows TSSRESTREND to return change estimates of values that filed the sig component in the residual analysis. defualt FALSE will give the same result as eralier versions.

Value

a list of class TSSRESTREND. See TSSRESTREND for details. Note. if called seperatly from TSSRESTREND, this list will be incomplete.

Author(s)

Arden Burrell, arden.burrell@unsw.edu.au

Examples

1
2
restrend <- RESTREND(stdRESTREND$max.NDVI, stdRESTREND$acc.precip, stdRESTREND$index)
print(restrend)

Example output

     Method Total.Change Residual.Change VPR.HeightChange      model.p
32 RESTREND    0.1974363       0.1974363            FALSE 0.0006526821
    residual.p VPRbreak.p bp.year
32 3.68055e-08      FALSE   FALSE
$chow.sum
[1] FALSE

$chow.ind
[1] FALSE

$OLS.table
                   slope temp.coef   intercept      p.value R^2.Value
CTS.fit              NaN       NaN         NaN          NaN       NaN
VPR.fit      0.001179016       NaN   0.3202949 6.526821e-04 0.3253778
RESTREND.fit 0.006368912       NaN -12.7219012 3.680550e-08 0.6415157
segVPR.fit           NaN       NaN         NaN          NaN       NaN
             Break.Height Slope.Change Slope.ChangeTmp
CTS.fit               NaN          NaN             NaN
VPR.fit               NaN          NaN             NaN
RESTREND.fit          NaN          NaN             NaN
segVPR.fit            NaN          NaN             NaN

TSS.RESTREND documentation built on Aug. 3, 2020, 1:07 a.m.