Last chance! 50% off unlimited learning
Sale ends in
Quadtree
Retrieves the projection of a Quadtree
.
# S4 method for Quadtree
projection(x)# S4 method for Quadtree
projection(x) <- value
a string
a Quadtree
character; the projection to assign to the
Quadtree
library(quadtree)
habitat <- terra::rast(system.file("extdata", "habitat.tif", package="quadtree"))
qt <- quadtree(habitat, .1)
quadtree::projection(qt) <- "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
quadtree::projection(qt)
Run the code above in your browser using DataLab