n.years {CAGR}R Documentation

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)

[Package CAGR version 1.1.0 Index]