powered by
Prepare a list defining the necessary parameters to specify the spatial structure of the activation data.
simprepSpatial(regions, coord, radius = NULL, form = c("cube", "sphere", "manual"), fading = 0)
A list with the necessary arguments to be used in simVOLfmri.
simVOLfmri
Number of activated regions.
List of coordinates specifying the xyz-coordinates.
If form=cube or sphere, the distance between the center and the edge, if form=manual, the number of voxels in each region.
The form of the activated regions.
Decay rate between 0 and 1. 0 means no fading, while 1 results in the fastest decay.
M. Welvaert
simVOLfmri, simprepTemporal, specifyregion
simprepTemporal
specifyregion
coord <- list(c(3,3,3),c(6,6,6)) radius <- c(1,2) out <- simprepSpatial(2, coord, radius, form="cube", fading=0.2) rm(coord,radius,out)
Run the code above in your browser using DataLab