Hey all! I've been bashing away at ENMTools for the past couple of days, just doing a bunch of bug fixes and adding some new features. If you want to see everything you can go here, but I'll outline the highlights.
1. Added a "bg.source" argument to all modeling functions that allows you to specify whether you want to draw background from the background points or range raster stored in your enmtools.species object, or the geographic area outlined by your environment raster. If you don't specify any bg.source argument it will prioritize them in the order it did previously: background points > range raster > environment layers.
2. Changed the raster.pca function to return the actual pca object along with the raster layers.
3. Fixed a persistent error with ggplot2 plots from hypothesis tests excluding some values. The fix for this isn't perfect yet (and I'm not entirely sure why), but in my experiments with it yesterday the issue is MUCH reduced.
4. Added a plot to the output of enmtools.aoc that shows the averaged overlap values on each node in the phylogeny. The old plots for the hypothesis tests are still there, but if you display the enmtools.aoc object those are now the second plot. The first one is the tree, and it looks like this:
I've also added some plots I've been meaning to put in for a while. These are called "three space plots", because they're meant to visualize the environment spaces representing the presence and background data from a model along with the environment space represented by a set of environment layers.
For these you just type threespace.plot(model, env), where your model is an enmtools.model object and your env is a set of raster layers. That gives you something like this:
The goal here it to visualize how much of that environment space represents sets of conditions your model never saw when it was being built. This is just a first pass and I do have more stuff planned in this direction, but I reckon this alone might be useful for some of you out there.