displayRAT | R Documentation |
displayRAT()
generates a presentation table. Colors are shown if the
Raster Attribute Table contains RGB columns.
This function requires package gt
.
displayRAT(tbl, title = "Raster Attribute Table")
tbl |
A data frame formatted as a GDAL RAT (e.g., as returned by
|
title |
Character string to be used in the table title. |
An object of class "gt_tbl"
(i.e., a table created with
gt::gt()
).
buildRAT()
, GDALRaster$getDefaultRAT()
vignette("raster-attribute-tables")
# see examples for `buildRAT()`
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.