inst/tinytest/test_plot.R

# multiple sources
s <- rast(system.file("ex/logo.tif", package="terra"))
plotRGB(c(s[[1]], s[[2]], s[[3]]))

Try the terra package in your browser

Any scripts or data that you put into this service are public.

terra documentation built on April 12, 2025, 1:43 a.m.