Internal function to convert an object of class 'im' to values readable by image.plot function within the rrs and lotrrs functions.
lrr_plot(
input,
cols,
midpoint = 0,
lower_lrr = NULL,
upper_lrr = NULL,
digits = 1
)An object of class 'list'. This is a named list with the following components:
vAn object of class 'SpatRaster' for the estimated gating surface.
colsAn object of class 'vector', returns diverging color palette values.
breaksAn object of class 'vector', returns diverging color palette breaks.
atAn object of class 'vector', returns legend breaks.
labelsAn object of class 'vector', returns legend labels.
An object of class 'rrs' from the rrs or lotrrs function.
Character string of length three (3) specifying the colors for plotting: 1) numerator, 2) insignificant, and 3) denominator from the rrs or lotrrs function.
Numeric. The value to center the diverging color palette.
Numeric. The lower value to concatenate the color key. The default (NULL) uses the minimum value from input.
Numeric. The upper value to concatenate the color key. The default (NULL) uses the maximum value from input.
Integer. The number of significant digits for the labels using the round function (default is 1).