quadtree provides functionality for working with raster-like quadtrees (called “region quadtrees”), which allow for variable-sized cells.
The package can be installed from CRAN using
The development version can be installed from GitHub using
# install.packages("devtools") devtools::install_github("dfriend21/quadtree")
Visit the package website for more information.