Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
README.html | 2022-10-24 17:25 | 4.7K | ||
man/ | 2022-10-24 17:25 | - | ||
btb
(“Beyond the Border - Kernel Density Estimation for
Urban Geography”) is an R package which provides functions dedicated to
urban analysis and density estimation using the KDE (kernel density
estimator) method.
A partial transposition of the package in Python is also available: btbpy.
The btb_smooth()
function allows you to square and
smooth geolocated data. It calculates a classical kernel smoothing
(conservative) or a geographically weighted median. There are four major
call modes of the function.
btb_smooth(obs, epsg, cellsize, bandwidth)
for a classical
kernel smoothing and automatic grid.btb_smooth(obs, epsg, cellsize, bandwidth, quantiles)
for a
geographically weighted median and automatic grid.btb_smooth(obs, epsg, cellsize, bandwidth, centroids)
for a
classical kernel smoothing and user grid.btb_smooth(obs, epsg, cellsize, bandwidth, quantiles, centroids)
for a geographically weighted median and user grid.btb
is available on CRAN and can therefore be readily
installed
install.packages("btb")
To get a bug fix or to use a feature from the development version, you can install the development version of from GitHub :
install.packages("devtools")
devtools::install_github("InseeFr/btb")
Details on how to use the package can be found in its documentation. Some applications for spatial smoothing are presented in chapter 8 of the Handbook of Spatial Analysis published by Insee. You advise you to start by consulting the vignette of the package
Maintainer: Kim Antunez antuki.kim+cran@gmail.com
Creators, authors and contributors: