Hello everyone,
I am researching the effect of climate change on deer (Odocoileus).
Please,
Quitting from lines 419-430 [unnamed-chunk-18] (wallace-session-2023-11-28.Rmd)
Error in `image.default()`:
! no slot of name "pnt" for this object of class "SpatRaster"
Backtrace:
1. ecospat::ecospat.plot.niche(...)
3. graphics::image.default(...)
Execution halted
### Environmental space
Calculating the part of environmental space more densly populated by
species & the availability of environmental conditions in the background
for *ODOCOILEUS hemionus* & *ODOCOILEUS virginianus*
```{r}
# Create density grid
espace_occDens_Pc_Pm <- espace_occDens(
sp.name1 = "ODOCOILEUS hemionus",
sp.name2 = "ODOCOILEUS virginianus",
pca = espace_pca_Pc_Pm)
# Plots
graphics::par(mfrow = c(1,2))
ecospat::ecospat.plot.niche(espace_occDens_Pc_Pm[["ODOCOILEUS hemionus"]],
title = "ODOCOILEUS hemionus")
ecospat::ecospat.plot.niche(espace_occDens_Pc_Pm[["ODOCOILEUS virginianus"]],
title = "ODOCOILEUS virginianus")
```
Thanks in advance,
Eliécer
--
You received this message because you are subscribed to the Google Groups "Wallace Ecological Modeling App" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wallaceEcoMo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wallaceEcoMod/df9a16ca-289f-4051-97c7-fcd674045136n%40googlegroups.com.