# for x = data.frame
data(lemurs)
e <- c(-125, -105, 30, 50)
dat <- RichnessGrid(lemurs, e, reso = 60, type = "spnum")
# for x = character string
e <- c(-125, -105, 30, 50)
## Not run:
# dat <- RichnessGrid("Indri indri", e, reso = 60, type = "spnum")
# ## End(Not run)
Run the code above in your browser using DataLab