This is a question I got via email: how do you remove occurrence points from the suitability plots that are spit out by ENMTools modeling functions?
Luckily this is quite easy, as these are just ggplot objects.
library(ENMTools)
library(ggedit)
mont.mx <- enmtools.maxent(iberolacerta.clade$species$monticola,
euro.worldclim, test.prop = 0.3)
with.points <- plot(mont.mx)
with.points
without.points <- remove_geom(with.points, "point", 1:2)
without.points
No comments:
Post a Comment