Package 'CompGR'

Title: Complete Annual Growth Rate Generator
Description: It is designed to streamline the process of calculating complete annual growth rates with user-friendly functions and robust algorithms. It enables researchers and analysts to effortlessly generate precise growth rate estimates for their data. For method details see, Sharma, M.K.(2013) <https://www.indianjournals.com/ijor.aspx?target=ijor:jfl&volume=26&issue=1and2&article=018>. It offers a comprehensive suite of functions and customisable parameters. Equipped to handle varying complexities in data structures. It empowers users to uncover insightful growth dynamics and make informed decisions.
Authors: Ashis Ranjan Udgata [aut, cre], Devraj [aut], Rekha Rani [aut], Uma Sah [aut]
Maintainer: Ashis Ranjan Udgata <[email protected]>
License: GPL (>= 2.0)
Version: 0.1.3
Built: 2025-03-08 02:29:22 UTC
Source: https://github.com/cran/CompGR

Help Index


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")