colors_legend(possible_ranges_list_txt, colors_list_for_states, legend_ncol = NULL, legend_cex = 1)
NULL
(default), the function calculates
floor(sqrt(length(possible_ranges_list_txt) / 2))
.
Note that when you have hundreds of states, there is
probably no good way to have a coherent legend, and it is
easier to just rely upon printing the character codes for
the ML states in the plots, with the colors, and users
can then see and trace the common colors/states by eye.legend
function determines the
size. The value 2.5 works well for 15 or 16
states/ranges.Matzke_2012_IBS
legend
,
floor
, ceiling
,
floor