Internal function to convert 'im' object or 'SpatRaster' object to values readable by image.plot function within the plot_perturb function.
seq_plot(input, cols, thresh_up = NULL, digits = 1)An object of class 'list'. This is a named list with the following components:
vAn object of class 'vector' for the estimated ecological niche values.
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 'im' or 'SpatRaster' from the perlrren function.
Character string of length three (3) specifying the colors for plotting: 1) presence, 2) neither, and 3) absence from the plot_obs function.
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).