ar_whiten_inplace | R Documentation |
Applies a causal AR filter defined by phi_coeffs
to both Y
and X
matrices in place.
ar_whiten_inplace(Y, X, phi_coeffs, exact_first_ar1 = FALSE)
Y |
Numeric matrix of data (time x voxels) |
X |
Numeric matrix of design (time x predictors) |
phi_coeffs |
Numeric vector of AR coefficients (length p) |
exact_first_ar1 |
Logical, apply exact scaling of first sample for AR(1) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.