Internal function to convert an object of class 'im' to values readable by image.plot
function within the rrs
, lotrrs
, and gating
functions.
pval_plot(input, alpha)
An object of class 'SpatRaster' with categorical values:
A value of 1: Significant numerator.
A value of 2: Insignificant.
A value of 3: Significant denominator.
An object of class 'rrs' from the rrs
or lotrrs
function.
Numeric. The two-tailed alpha level for significance threshold (default in rrs
, lotrrs
, and gating
functions is 0.05).