Learn R Programming

precintcon (version 2.3.0)

tii: Temporaly Irregularity Index

Description

It calculates the temporaly irregularity index according to the function sum(log(Pi+1/Pi))/(n-1), where Pi is the precipitation amount of year i, and n is the number of years.

Usage

tii(object)

Arguments

object
is a daily or monthly precipitation serie

Value

the temporaly irregularity index according to the function sum(log(Pi+1/Pi))/(n-1)

Details

Daily or monthly precipitation series are transformed to annual series.

Examples

Run this code
##
# Loading the monthly precipitation serie
data(monthly)

##
# Calculationg the Temporaly Irregularity Index
tii(monthly)

Run the code above in your browser using DataLab