View source: R/simprepSpatial.R
simprepSpatial | R Documentation |
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)
regions |
Number of activated regions. |
coord |
List of coordinates specifying the xyz-coordinates. |
radius |
If form=cube or sphere, the distance between the center and the edge, if form=manual, the number of voxels in each region. |
form |
The form of the activated regions. |
fading |
Decay rate between 0 and 1. 0 means no fading, while 1 results in the fastest decay. |
A list with the necessary arguments to be used in simVOLfmri
.
M. Welvaert
simVOLfmri
, 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.