R/grid.R
grid_ncell.Rd
Number of cells in a grid
grid_ncell(grid)
a guerrilla_grid
guerrilla_grid
A single integer, the product of the two dimensions.
grid_ncell(grid_spec(dimension = c(3, 2), extent = c(0, 6, 0, 4))) #> [1] 6