tsgrowth.tsmodel.predict {tsmethods} | R Documentation |
Growth Calculation
Description
Generic method for calculating the growth distribution from an object.
Usage
## S3 method for class 'tsmodel.predict'
tsgrowth(object, d = 1, type = c("diff", "simple", "log"), ...)
tsgrowth(object, ...)
Arguments
object |
an object. |
d |
the period back to look at for growth calculations. |
type |
the type of growth calculation. “diff” is simply the difference in values over n periods, “simple” if the rate of change and “log” the difference in logs. |
... |
additional parameters passed to the method. |
Value
an object of class “tsmodel.predict” transformed to a growth distribution.
The growth distribution.
[Package tsmethods version 1.0.1 Index]