Learn R Programming

adaptsmoFMRI (version 1.2)

weightsplot: Plot Function for Weights (Real Data)

Description

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

Usage

weightsplot(weights, nei, nx, ny, coord, thresh = 0.1,
    ...)

Value

No return value, called for side effects

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.

coord,

matrix, coordinates of pixels.

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.

Author

Maximilian Hughes