tsd | R Documentation |
Creates a time-series data object that contains a time series and related information, e.g. data structure, title and the units. Provide input for esti and iden.
tsd( data.ts, data.title = deparse(substitute(data.ts)), time.units = "Time", response.units = deparse(substitute(data.ts)) )
data.ts |
A time series object (created with the R |
data.title |
Optional. Title for the data. Default is the name of the data.ts object. |
time.units |
Optional. Time units of the data. Default is 'Time'. |
response.units |
Optional. The units of time for the time series data. Default is the name of the data.ts object. |
This function returns a time series data object that can be used as input to the iden
, esti
, and other RTsereis functions.
iden
, esti
savings.rate.ts <- ts(savings.rate, frequency=4, start=1955) savings.rate.tsd <- tsd(savings.rate.ts, data.title='Change in Inventory', response.units='Billions of Dollars', time.units='Year') iden(savings.rate.tsd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.