bayes_read_image | R Documentation |
Read probability maps
bayes_read_image(files)
files |
Full path to raster files |
A SpatRaster object
Gilberto Camara, gilberto.camara@inpe.br
if (bayes_run_examples()) {
# Define location of a probability file
data_dir <- system.file("/extdata/rgb", package = "bayesEO")
# list the file
files <- list.files(data_dir)
# build the full path
image_files <- paste0(data_dir, "/", files)
rgb_image <- bayes_read_image(image_files)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.