Description Usage Arguments Value Author(s) References Examples
This makes 3 graphs to check for serial correlation in data. The graphs are a sequential plot (i vs X_i), a lag plot (plotting X_i vs X_{i+k} where k=1 by default) and an autocorrelation plot from the times series ("ts") package.
1 | simple.eda.ts(x, lag=1)
|
x |
a univariate vector of data |
lag |
a lag to give to the lag plot |
Makes the graph with 1 row, 3 columns
John Verzani
Downloaded from http://www.itl.nist.gov/div898/handbook/eda/section3/eda34.htm.
1 2 3 4 5 6 | ## The function is currently defined as
## look for no correlation
x <- rnorm(100);simple.eda.ts(x)
## you will find correlation here
simple.eda.ts(cumsum(x))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.