SimonDedman / gbm.auto

Machine-learning Boosted Regression Tree software suite for species distribution modelling in R
https://doi.org/10.1371/journal.pone.0188955
Other
18 stars 6 forks source link

Valuemap: PerSpeciesClosedAreaMaps species colour breaks #27

Open SimonDedman opened 6 years ago

SimonDedman commented 6 years ago

PerSpeciesClosedAreaMaps: need to make the scale from 1:4 (0:4?) not auto. There are 1+4 items in the legend, correctly. L309 set breaks. gbm.map allows them to be parsed in "..."? Didn't change anything. tweaked colours, added breaks1 & 2 globals to gbm.map, manually set valuemap to only run the effort loop breaks1: 0:4 correct. breaks2: didn't appear, so unhelpful run! But at least means the breaks I want are passed into the system... breaks is being changed somewhere near bottom of gbm.map, but by what? instead of 0-1,1-2,2-3,3-4, have it be C T B S! Still need to sort the numbering problem first. numberwise should be breaks = c(0,0:length(goodcols)), L381 & 396 ALREADY DONE???