Description Usage Arguments Value Examples
hexagonal bins
1 2 3 4 | neighbourhoods(
U,
delta = (range(U$x, na.rm = TRUE)[2] - range(U$x, na.rm = TRUE)[1])/100
)
|
U |
: a dataframe containing the numerical variables x and y |
delta: |
controls the bin diameter |
a hexbin object hexagonal bins
1 2 3 4 5 6 | # plot the hex bins of cumbria
data(U,package="Strategy")
library("hexbin")
plot(neighbourhoods(U,.1))
plot(neighbourhoods(U,.01))
plot(neighbourhoods(U,.001))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.