| Type: | Package | 
| Title: | Compound Annual Growth Rate | 
| Version: | 1.1.1 | 
| Author: | Debopam Rakshit [aut, cre], Dwaipayan Bardhan [aut] | 
| Maintainer: | Debopam Rakshit <rakshitdebopam@yahoo.com> | 
| Description: | A time series usually does not have a uniform growth rate. Compound Annual Growth Rate measures the average annual growth over a given period. More details can be found in Bardhan et al. (2022) <doi:10.18805/ag.D-5418>. | 
| Imports: | stats | 
| License: | GPL-3 | 
| Encoding: | UTF-8 | 
| RoxygenNote: | 7.3.2 | 
| NeedsCompilation: | no | 
| Packaged: | 2025-04-01 10:57:00 UTC; Debopam | 
| Repository: | CRAN | 
| Date/Publication: | 2025-04-01 11:20:06 UTC | 
Compute CAGR(Compound Annual Growth Rate)
Description
Compute CAGR(Compound Annual Growth Rate)
Usage
CAGR(data.1, data.n, n)
Arguments
| data.1 | Data of the first year | 
| data.n | Data of the last year | 
| n | Number of years | 
Value
CAGR and between years values
References
Bardhan, D., Singh, S.R.K., Raut, A.A.and Athare, T.R. (2022). Livestock in Madhya Pradesh and Chhattisgarh: An Analysis for Some Policy Implications. Agricultural Science Digest. DOI:10.18805/ag.D-5418.
Examples
c.cagr<-CAGR(100, 189, 5)
Log-linear Trend Model
Description
Estimating the growth rate using the log-linear trend model
Usage
LLTM(data)
Arguments
| data | Time series data set | 
Value
Growth rate and model summary
References
Bardhan, D., Singh, S.R.K., Raut, A.A.and Athare, T.R. (2022). Livestock in Madhya Pradesh and Chhattisgarh: An Analysis for Some Policy Implications. Agricultural Science Digest. DOI:10.18805/ag.D-5418.
Examples
data<- c(100,105,110,118,116,120,130)
g.rate <- LLTM(data)
Computing First Year data
Description
Computing first year data
Usage
data.first(data.n, r, n)
Arguments
| data.n | Data of the last year | 
| r | CAGR | 
| n | Number of years | 
Value
First year data and between years values
References
Bardhan, D., Singh, S.R.K., Raut, A.A.and Athare, T.R. (2022). Livestock in Madhya Pradesh and Chhattisgarh: An Analysis for Some Policy Implications. Agricultural Science Digest. DOI:10.18805/ag.D-5418.
Examples
d.first<-data.first(189, 13.57751, 5)
Computing Last Year data
Description
Computing last year data
Usage
data.last(data.1, r, n)
Arguments
| data.1 | Data of the first year | 
| r | CAGR | 
| n | Number of years | 
Value
Last year data and between years values
References
Bardhan, D., Singh, S.R.K., Raut, A.A.and Athare, T.R. (2022). Livestock in Madhya Pradesh and Chhattisgarh: An Analysis for Some Policy Implications. Agricultural Science Digest. DOI:10.18805/ag.D-5418.
Examples
d.last<-data.last(100, 13.57751, 5)
Computing Number of Years
Description
Computing number of years
Usage
n.years(data.1, data.n, r)
Arguments
| data.1 | Data of the first year | 
| data.n | Data of the last year | 
| r | CAGR | 
Value
Number of years and between years values
References
Bardhan, D., Singh, S.R.K., Raut, A.A.and Athare, T.R. (2022). Livestock in Madhya Pradesh and Chhattisgarh: An Analysis for Some Policy Implications. Agricultural Science Digest. DOI:10.18805/ag.D-5418.
Examples
n.yrs<-n.years(100, 189, 13.57751)