grid_analysis: Analyse some of the grid options

View source: R/grid_analysis.R

grid_analysisR Documentation

Analyse some of the grid options

Description

Analyse some of the grid options

Usage

grid_analysis(data, gridpower2 = 8:11, pf = 1.5, verbose = FALSE)

Arguments

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')

Value

a 'gridanalysis.cartogramR' object which is a matrix

Examples

  data(usa)
  ga <- grid_analysis(data=usa, gridpower2=4:8, verbose=TRUE)
  summary(ga)

cartogramR documentation built on Oct. 18, 2022, 5:08 p.m.