arima | R Documentation |
Univariate time series
arima(
data,
mode = "simple",
dep,
dep1,
time1 = NULL,
freq = 12,
pred = 10,
plot = FALSE,
box = FALSE,
plot1 = FALSE,
plot2 = FALSE,
plot3 = FALSE,
coef = FALSE,
fit = FALSE,
point = FALSE,
plot4 = FALSE,
plot5 = FALSE,
plot6 = FALSE,
periods = 365,
unit = "day",
width1 = 500,
height1 = 500,
width2 = 500,
height2 = 500,
width3 = 500,
height3 = 500,
width4 = 500,
height4 = 500,
width5 = 500,
height5 = 500,
width6 = 500,
height6 = 500,
width7 = 500,
height7 = 500,
width8 = 500,
height8 = 500
)
data |
timeseries data format |
mode |
. |
dep |
the dependent variable from |
dep1 |
the dependent variable from |
time1 |
ts type called 'ds' |
freq |
. |
pred |
. |
plot |
. |
box |
. |
plot1 |
. |
plot2 |
. |
plot3 |
. |
coef |
. |
fit |
. |
point |
. |
plot4 |
. |
plot5 |
. |
plot6 |
. |
periods |
. |
unit |
. |
width1 |
. |
height1 |
. |
width2 |
. |
height2 |
. |
width3 |
. |
height3 |
. |
width4 |
. |
height4 |
. |
width5 |
. |
height5 |
. |
width6 |
. |
height6 |
. |
width7 |
. |
height7 |
. |
width8 |
. |
height8 |
. |
A results object containing:
results$instructions | a html | ||||
results$text | a preformatted | ||||
results$coef | a table | ||||
results$fit | a table | ||||
results$point | a table | ||||
results$plot | an image | ||||
results$box | an image | ||||
results$plot1 | an image | ||||
results$plot2 | an image | ||||
results$plot3 | an image | ||||
results$plot4 | an image | ||||
results$plot5 | an image | ||||
results$plot6 | an image | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$coef$asDF
as.data.frame(results$coef)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.