rbfunc {mand} | R Documentation |
Radial Basis Function
Description
This makes a radial basis function.
Usage
rbfunc(imagedim, seppix, hispec = FALSE, mask = NULL, brainpos = NULL)
Arguments
imagedim |
a vector indicating image three dimension. |
seppix |
a numeric. distance between knots. |
hispec |
a logical. TRUE produces a matrix output. FALSE produces a list output to reduce the data memorry. |
mask |
a vector. |
brainpos |
a logical vector. |
Details
rbfunc
requires the dimensions of the original image to be applied and the knot interval. The output is obtained as a matrix, with the number of rows corresponding to the number of voxels in the original image and the number of columns determined by the knot spacing. By setting hispec = TRUE, you can get the output in list format with a smaller memory.
Examples
imagedim1=c(10,10,10)
B1 = rbfunc(imagedim=imagedim1, seppix=4, hispec=TRUE)
B2 = rbfunc(imagedim=imagedim1, seppix=4, hispec=FALSE)
[Package mand version 2.0 Index]