View source: R/grid_analysis.R
grid_analysis | R Documentation |
Analyse some of the grid options
grid_analysis(data, gridpower2 = 8:11, pf = 1.5, verbose = FALSE)
data |
a sf object to be used in cartogram. |
gridpower2 |
a vector of exponent (to be raised at the power of 2) that gives the log2(size) of the grid (default to '8:11') |
pf |
Determines space between map and boundary (default to 1.5) |
verbose |
a boolean object to set on verbose mode (default to 'TRUE') |
a 'gridanalysis.cartogramR' object which is a matrix
data(usa)
ga <- grid_analysis(data=usa, gridpower2=4:8, verbose=TRUE)
summary(ga)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.