View source: R/fmri_ts_forecast.R
fmri_ts_forecast | R Documentation |
a function to forecast the fMRI data based on the time series
fmri_ts_forecast(fmridata, voxel_location, cut = 10)
fmridata |
a 4D array contains information for the fMRI spacetime image. The data should only contain the magnitude for the fMRI image. |
voxel_location |
a 3d array indicating the voxel location of the brain |
cut |
breaking point of the time-series data. The default is 10. |
The function fmri_ts_forecast
is used to forecast with time series. It will fit the best ARIMA model to univariate time series from the input fMRI data.
a figure forecasting the fMRI voxel with time series
SOCR team <http://socr.umich.edu/people/>
fmri_generate = fmri_simulate_func(dim_data = c(64, 64, 40), mask = mask)
smoothmod <- GaussSmoothArray(fmri_generate$fmri_data, sigma = diag(3,3))
fmri_ts_forecast(smoothmod,c(41,44,33))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.