“…We modeled the distributions of 77 butterfly species across Borneo using R (R Core Team, ) with the biomod2 package (Thuiller, Georges, Engler, Georges, & Thuiller, ). We used an ensemble modeling approach to create a consensus of the predictions across three algorithms (see Cheng & Bonebrake, ; Marshall et al., ; Singh, McClean, Büker, Hartley, & Hill, ; Thuiller, Lafourcade, Engler, & Araújo, ), comprising: (a) A generalized linear model (GLM), with linear effects and stepwise selection based on Akaike information criteria (AIC); (b) a random forest (RF) model, using the default settings (no. trees = 501; node size = 5); and (c) maximum entropy modeling (MAXENT), including only linear and quadratic features (e.g., see Marshall et al., ).…”