tabular | R Documentation |
Function to transform a raster brick into a data.table
tabular(x)
## S4 method for signature 'Raster'
tabular(x)
## S4 method for signature 'character'
tabular(x)
x |
Raster* object; filename (character, see details) |
data.table
## Not run:
download_data("gldas-vic", tempdir(), timestep = "yearly")
r <- raster::brick(paste0(tempdir(),
"/gldas-vic_tp_mm_land_194801_201412_025_yearly.nc"))
s <- tabular(r)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.