Learn R Programming

CAGR (version 1.1.1)

n.years: Computing Number of Years

Description

Computing number of years

Usage

n.years(data.1, data.n, r)

Value

Number of years and between years values

Arguments

data.1

Data of the first year

data.n

Data of the last year

r

CAGR

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

Run this code
n.yrs<-n.years(100, 189, 13.57751)

Run the code above in your browser using DataLab