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

Auto: lineplot & csv Y values don't match #45

Closed SimonDedman closed 3 years ago

SimonDedman commented 5 years ago

gaus: L624: lineplot uses gbm.plot L638: csv uses plot.gbm

bin L577 & 597 csv code from https://stats.stackexchange.com/a/144871/43360 which uses gbm.plot code chunks

gbm.plot calls plot.gbm then adds to it. Specifically adds common.scale = TRUE. L90 in gbm.plot:

plot(predictors[[j]], responses[[j]], ylim = c(ymin, ymax), type = "l", xlab = x.label, ylab = y.label, ...) Shouldn't change things but maybe does?? Try with it FALSE Added @ 583 & 628 in gbm.auto Did nothing. Also need to extend the x & y axes, currently get clipped waay short.

SimonDedman commented 3 years ago

fixed v1.5.3