ENMTools icon indicating copy to clipboard operation
ENMTools copied to clipboard

Maxent suitabilities not plotting

Open danlwarren opened this issue 8 years ago • 3 comments

danlwarren avatar Dec 01 '16 12:12 danlwarren

Man, I just cannot figure out why this isn't plotting. When you call plot() on an enmtools.maxent object manually it plots just fine, but it simply refuses to do it from the summary function. Just weird.

danlwarren avatar Dec 02 '16 09:12 danlwarren

Is this still the case? I was able to get summary(enmtools.maxent(my_model)) to produce the suitability plot with some of my data. If it is, I am happy to chase it down with a reproducible example!

nahuron avatar Aug 06 '20 18:08 nahuron

Yeah it's weird because it works when you call summary, but not when you just call the object itself. For instance:

test <- enmtools.maxent(iberolacerta.clade$species$monticola, euro.worldclim) test

test2 <- enmtools.gam(iberolacerta.clade$species$monticola, euro.worldclim) test2

The second one will show the suitabilities, the first one won't. Both work when you explicitly call summary() or print(), but maxent models don't show anything when you just call the model itself.

danlwarren avatar Aug 06 '20 23:08 danlwarren