Learn R Programming

tsmethods (version 1.0.2)

tsgrowth.tsmodel.predict: Growth Calculation

Description

Generic method for calculating the growth distribution from an object.

Usage

# S3 method for tsmodel.predict
tsgrowth(object, d = 1, type = c("diff", "simple", "log"), ...)

tsgrowth(object, ...)

Value

an object of class “tsmodel.predict” transformed to a growth distribution.

The growth distribution.

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.