# \donttest{
lagos_path <- system.file("extdata/conejos",
package = "bamm")
enm_path <- list.files(lagos_path,
pattern = ".tif",
full.names = TRUE)[1:10]
en_models <- raster::stack(enm_path) >0.01
pam <- bamm::models2pam(en_models,
return_coords=TRUE,
sparse=FALSE,
parallel=FALSE,ncores=2)
head(pam)
# }
Run the code above in your browser using DataLab