Generic method for calculating the growth distribution from an object.
# S3 method for tsmodel.predict
tsgrowth(object, d = 1, type = c("diff", "simple", "log"), ...)tsgrowth(object, ...)
an object of class “tsmodel.predict” transformed to a growth distribution.
The growth distribution.
an object.
the period back to look at for growth calculations.
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.