The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

quadtree: An R package for region quadtrees

quadtree provides functionality for working with raster-like quadtrees (called “region quadtrees”), which allow for variable-sized cells.

library(quadtree)

habitat <- terra::rast(system.file("extdata", "habitat.tif", package="quadtree")) # load sample data
qt <- quadtree(habitat, .03, "sd") # create a quadtree

Installation

The package can be installed from CRAN using install.packages():

install.packages("quadtree")

The development version can be installed from GitHub using devtools::install_github():

# install.packages("devtools")
devtools::install_github("dfriend21/quadtree")

Documentation

Visit the package website for more information.

Learning how to use the quadtree package

The best way to learn about the package is by reading the vignettes, which are available through R and through the package website. I’d suggest reading the vignettes in this order:

  1. Creating Quadtrees
  2. Using Quadtrees
  3. Finding LCPs

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.