View source: R/conformable_matrix.R
ConformableMatrix | R Documentation |
Compute the list of matrices with correct dimensions to pass later in the computation
ConformableMatrix(mat.y, q, mat.x = NULL, trend = FALSE, intercept = TRUE)
mat.y |
The matrix object of time series |
q |
The chosen lag |
mat.x |
The matrix of optional covariates |
trend |
Whether we add a trend. Default = FALSE |
intercept |
Whether the break test is on the intercept only. Default = TRUE |
A list of conformed matrices
data(example_data)
conf.matrix <- ConformableMatrix(mat.y = example_data, q = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.