Description Usage Arguments Author(s) See Also Examples
This function generates a user an (n-1)x(p+2) design matrix for their data and own choice of AR(p) model. This can be used directly with cpt.reg() but is unnecessary for cpt.ar() as it will be generated internally.
| 1 | 
| data | A vector, ts object or matrix containing the data within which you wish to find a changepoint. If data is a matrix, each row is considered a separate dataset. | 
| p | User specifies the order of the AR(p) model they specifically wish to plug in to  | 
Andrew Connell
| 1 2 3 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.