Learn R Programming

adaptsmoFMRI (version 1.1)

sim.weightsplot: Plot Function for Weights (Simulated Data)

Description

This function plots the weights interacting between estimated effects for each pixel.

Usage

sim.weightsplot(weights, nei, nx, ny, thresh = 0.05, ...)

Arguments

weights
matrix, containing MCMC-output the of posterior estimates of weights.
nei
matrix, locations of weights in precision matrix.
nx
scalar, number of pixels in x-direction.
ny
scalar, number of pixels in y-direction.
thresh
scalar, defining the threshold to which the median of the weights smaller than this threshold should be plotted.
...
graphical parameters for image can also be passed on as arguments to this function.