Description Usage Arguments Value Author(s) See Also Examples
Simulates an fMRI time series for the specified design and noise type.
1 2 3 4 5 |
design |
List generated by |
base |
Baseline value of the time series. |
nscan |
Number of scans. |
TR |
Repetition time in seconds. |
SNR |
Signal-to-noise ratio of the time series. |
noise |
Type of noise (white is default). |
type |
If |
weights |
If |
verbose |
Logical indicating if warnings should be returned. |
rho |
If |
freq.low |
If |
freq.heart |
If |
freq.resp |
If |
vee |
If |
A vector representing the fMRI time series.
M. Welvaert
1 2 3 4 | design <- simprepTemporal(totaltime=200, onsets=seq(1,200,40),
durations=20, effectsize=1, TR=2, hrf="double-gamma")
ts <- simTSfmri(design=design, SNR=1, noise="white")
## Not run: plot(ts, type="l")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.