Package 'CAGR'

Title: Compound Annual Growth Rate
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>.
Authors: Debopam Rakshit [aut, cre], Dwaipayan Bardhan [aut]
Maintainer: Debopam Rakshit <[email protected]>
License: GPL-3
Version: 1.1.0
Built: 2024-12-19 06:39:56 UTC
Source: CRAN

Help Index


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)

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)