save_tif | R Documentation |
SDM_area
to a raster tif file.Save the vector format geospatial object of the SDM_area
to a raster tif file.
save_tif(an_area = NULL, new_name = NULL, dir_path = NULL)
an_area |
A |
new_name |
The name of file which the |
dir_path |
The path in which the file will be saved. |
## Not run: SPDF <- readOGR( system.file("vect_files/brasil_uf.gpkg", package="sdmTools"), layer = "brasil_uf", verbose = F ) gridded_area <- SPDF %>% sdm_area("Test area", "EPSG:6933", c(50000, 50000)) %>% make_grid(var_names = list(), new_name = T) tmp_dir <- tempdir() gridded_area %>% save_tif(dir_path = tmp_dir) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.