Hello. I'm trying to run a stochastic mapping analysis of my time-stratified with areas_allowed DEC+J results, but plot_BSM is failing in the following manner:
Read 11 items
Read 50 items
length(possible_ranges_list_txt) = 382
length(colors_list_for_states) = 256
length(MLstates) = 49
Error in rangestxt_to_colors(possible_ranges_list_txt, colors_list_for_states, :
Error: possible_ranges_list_txt and colors_list_for_states must be the same length
The issue appears to be that I'm expected to manually apply the areas_allowed filter to my states list. But I don't know how to do this here:
# Note: If you did something to change the states_list from the default given the number of areas, you would
# have to manually make that change here as well! (e.g., areas_allowed matrix, or manual reduction of the states_list)
states_list_0based = rcpp_areas_list_to_states_list(areas=areas, maxareas=max_range_size, include_null_range=include_null_range)
colors_list_for_states = get_colors_for_states_list_0based(areanames=areanames, states_list_0based=states_list_0based, max_range_size=max_range_size, plot_null_range=TRUE)
So, if you know any way how I could do this, it would be very helpful.
Best,
Gaby.