Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vignettes/ENMeval-2.0-vignette.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Now let's take a look at which areas of this extent are climatically different w
# NA values for our environmental variable rasters.
occs.z <- terra::extract(envs, occs, ID = FALSE)
occs.na <- which(rowSums(is.na(occs.z)) > 0)
occs <- occs[-occs.na,]
if (length(occs.na) > 0) occs <- occs[-occs.na,]
occs.z <- na.omit(occs.z)
# Now we use the mess() function from the predicts pkg to calculate
# environmental similarity metrics of our predictor variable extent compared to
Expand Down