Description Usage Arguments Details Value Examples
cagr
calculates compound average growth rate(s) for the vector passed as an argument.
1 |
x |
A vector of numerical values. |
matrix |
Return a matrix showing cagrs between all vector elements? |
time |
A vector referring to the time values of |
If matrix is equal to TRUE then cagr
will return a matrix of calculated cagrs between each numerical value
within the vector passed as an argument. If time is NULL, column names will equal to the base value index and row names will
equal to the final value index. For example, in the return matrix, if column name = 2 and row name = 5, the
resulting value will equal to the cagr between the second and fifth value in the vector x
. View examples for more detail.
cagr(s) of vector x
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.