.distanceNeighbors {BayesDLMfMRI}R Documentation

.distanceNeighbors

Description

this is an internal function

Usage

.distanceNeighbors(posi.refer, r1)

Arguments

posi.refer

the position of the voxel in the brain image.

r1

a positive integer number that defines the distance from every voxel with its most distant neighbor. This value determines the size of the cluster. The users can set a range of different r values: r = 0, 1, 2, 3, 4, which leads to q = 1, 7, 19, 27, 33, where q is the size of the cluster.

Details

this is an internal function

References

Cardona-Jiménez J, de B. Pereira CA (2021). “Assessing dynamic effects on a Bayesian matrix-variate dynamic linear model: An application to task-based fMRI data analysis.” Computational Statistics & Data Analysis, 163, 107297. ISSN 0167-9473, doi:10.1016/j.csda.2021.107297, https://www.sciencedirect.com/science/article/pii/S0167947321001316.

Cardona-Jiménez J (2021). “BayesDLMfMRI: Bayesian Matrix-Variate Dynamic Linear Models for Task-based fMRI Modeling in R.” arXiv e-prints, arXiv–2111.


[Package BayesDLMfMRI version 0.0.3 Index]