50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


quadtree (version 0.1.14)

projection: Retrieve the projection of a Quadtree

Description

Retrieves the projection of a Quadtree.

Usage

# S4 method for Quadtree
projection(x)

# S4 method for Quadtree projection(x) <- value

Value

a string

Arguments

x

a Quadtree

value

character; the projection to assign to the Quadtree

Examples

Run this code
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