powered by
Analyse some of the grid options
grid_analysis(data, gridpower2 = 8:11, pf = 1.5, verbose = FALSE)
a `gridanalysis.cartogramR` object which is a matrix
a sf object to be used in cartogram.
a vector of exponent (to be raised at the power of 2) that gives the log2(size) of the grid (default to `8:11`)
Determines space between map and boundary (default to 1.5)
a boolean object to set on verbose mode (default to `TRUE`)
data(usa) ga <- grid_analysis(data=usa, gridpower2=4:8, verbose=TRUE) summary(ga)
Run the code above in your browser using DataLab