cAgr {CompGR}R Documentation

CompGR: Complete Annual Growth Rate Generator

Description

CompGR: Complete Annual Growth Rate Generator

Usage

cAgr(time, obs, model = NULL)

Arguments

time

A numeric vector containing sequence of time points

obs

A numeric vector containing sequence of observations

model

Three models. User can may select one of the three methods including Linear, Logarithmic and Compound growth

Value

CAGR

References

1. Sharma, M. K., Sisodia, B. V. S., & Lal, K. (2013). Growth and trends of pulse production in India. Journal of Food Legumes, 26(1and2), 86-92.

Examples


time<-c(1,2,3,4,5,6,7)
obs<-c(14,18,19,15,14,17,16)
CAGR_out<-cAgr(time=time,obs=obs,model="lin")


[Package CompGR version 0.1.3 Index]