Learn R Programming

MRIaggr (version 1.1.5)

legendMRI: Diplay a legend of a contrast map

Description

Display a legend from break values. For internal use.

Usage

legendMRI(breaks, palette, mar, cex, cex.main, main, quantiles, digit)
legendMRI2(param, palette, mar, cex, cex.main)

Arguments

breaks
the break points to use to generate the color intervals. numeric vector.
palette
the colors or the palette to use when associating colors to observation intensities. character vector.
param
the name of the contrast parameters. character vector.
mar
the number of margin lines to be specified on the four sides of the legend. positive numeric vector of size 4.
cex.main
the expansion factor for the legend title. positive numeric.
cex
the expansion factor for the legend labels. positive numeric.
main
an overall title for the legend. character.
quantiles
the quantiles values to display on the legend. numeric vector of size 5 or NULL.
digit
the number of decimal places to use for the legend label. positive integer.

Details

ARGUMENTS : Information about the mar argument can be found in par.

Information about the palette argument can be found in the details section of initCol.

FUNCTIONS : legendMRI is used when there is only one contrast parameter whereas legendMRI2 is used for multiparametric contrast.