Skip to content

Commit

Permalink
for #27
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Dec 12, 2024
1 parent a5bd543 commit cf09f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/maxent.R
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ setMethod("MaxEnt", signature(x="SpatRaster", p="ANY"),
if (nas >= 0.5 * avr) {
stop("more than half of the background points have NA predictor values")
} else {
warning(nas, " (", round(100*nas/avr, 2), "%) of the presence points have NA predictor values")
warning(nas, " (", round(100*nas/avr, 2), "%) of the background points have NA predictor values")
}
}
} else {
Expand Down

0 comments on commit cf09f9c

Please sign in to comment.