Type: Package
Title: Compound Growth Rate for Capturing the Growth Rate Over the Period
Version: 0.1.0
Author: Dr. S. Vishnu Shankar [aut, cre], Dr. Ranjit Kumar Paul [aut], Dr. Himadri Shekhar Roy [aut], Dr. Md Yeasin [aut]
Maintainer: Dr. S. Vishnu Shankar <S.vishnushankar55@gmail.com>
Description: The compound growth rate indicates the percentage change of a specific variable over a defined period. It is calculated using non-linear models, particularly the exponential model. To estimate the compound growth rates, the growth model is first converted to semilog form and then analyzed using Ordinary Least Squares (OLS) regression. This package has been developed using concept of Shankar et al. (2022)<doi:10.3389/fsufs.2023.1208898>.
License: GPL-3
Encoding: UTF-8
Imports: stats, base
NeedsCompilation: no
RoxygenNote: 7.3.1
Packaged: 2024-03-29 12:53:39 UTC; Admin
Repository: CRAN
Date/Publication: 2024-03-29 21:30:02 UTC

CGR

Description

Compound Growth Rate for Capturing the Growth Rate Over the Period

Usage

CGR(variable, data, verbose = FALSE)

Arguments

variable

Time series data taken for the study

data

Name of the data taken for the study

verbose

Logical. If TRUE, the function prints detailed information about its progress. Default is FALSE.

Value

Returns a list containing the Compound growth rate for capturing the growth rated over the period and other model parameters. The list includes:

References

#'

Examples

{
library(CGR)
years <- 1:50
value<-rnorm(length(years),100, 50)
data <- data.frame(Year = years, Sales = round(value))
CGR_results <- CGR(variable = data$Sales, data = data)
print(CGR_results)
}