simulate_fmri_noise | R Documentation |
This function simulates fMRI noise using an autoregressive moving average (ARMA) model.
simulate_fmri_noise(n, ar = c(0.3), ma = c(0.5), sd = 1, seed = NULL)
n |
The number of time points in the fMRI time series. |
ar |
A numeric vector containing autoregressive (AR) coefficients (default is c(0.3)). |
ma |
A numeric vector containing moving average (MA) coefficients (default is c(0.5)). |
sd |
The standard deviation of the white noise component (default is 1). |
seed |
An optional seed for reproducibility (default is NULL). |
A numeric vector containing the simulated fMRI noise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.