View source: R/specifyregion.R
specifyregion | R Documentation |
Generates an image with activated regions for specified dimensions. The regions are defined by their center and radius or can be entered manually.
specifyregion(dim, coord, radius = NULL,
form = c("cube", "sphere", "manual"),
fading = 0)
dim |
Dimensions of the image space. |
coord |
Coordinates of the activated region, if |
radius |
If |
form |
The form of the activated region. Default is |
fading |
Decay rate between 0 and 1. 0 means no fading, while 1 results in the fastest decay. |
An array representing the activation image with specified regions.
M. Welvaert
specifyregion
,gammaHRF
,canonicalHRF
,balloon
d <- c(10,10,10)
coord <- c(3,3,3)
radius <- 1
out <- specifyregion(d, coord, radius, form="sphere")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.