weightsplot: Plot Function for Weights (Real Data)

View source: R/plot-weights-real.R

weightsplotR Documentation

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,
    ...)

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.

Value

No return value, called for side effects

Note

This function is solely for MCMC-outputs on real data.

Author(s)

Maximilian Hughes


adaptsmoFMRI documentation built on Sept. 25, 2022, 5:06 p.m.