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
15 stars 6 forks source link

Auto: overlay & matrix plots #10

Open SimonDedman opened 6 years ago

SimonDedman commented 6 years ago

Option either in gbm.auto or separate function to take line plots (feasibly as linesfiles csvs) and overlay multiple lines on the same plot to save space and allow comparisons. Bin & gaus obviously, but potentially subsets as well. Lines options either colours or dash variants.

Related: Possibly a function to plot bars (bin, gaus) and lines (as above) as a panel/matrix of plots, to avoid having to postprocess in GIMP. Conceptualy would have to order the line plots by rank of bin+gaus importance from "Binary/Gaussian BRT Variable contributions.csv" auto output

SimonDedman commented 1 year ago

So primary aim: take bin_best_line_temp.csv and gaus_best_line_temp.csv and plot them together as 2 lines (with 2 smoothers?) x range (variable name, first column in csv) will be the same for bin & gaus. y values (second column) will be different. % influence will be different, need to get outside of csvs.

bin: Bin_Best_line_temp

gaus: Gaus_Best_line_temp

SimonDedman commented 1 year ago

could use the guts of dismo::gbm.plot