Grid information
grd_summary(grid)
grd_summary()
returns a list()
with components
xmin
, ymin
, xmax
, ymax
,
nx
, ny
, dx
, dy
, width
, and height
.
grd_summary(grd(nx = 3, ny = 2))
#> $xmin
#> [1] 0
#>
#> $ymin
#> [1] 0
#>
#> $xmax
#> [1] 3
#>
#> $ymax
#> [1] 2
#>
#> $nx
#> [1] 3
#>
#> $ny
#> [1] 2
#>
#> $dx
#> [1] 1
#>
#> $dy
#> [1] 1
#>
#> $width
#> [1] 3
#>
#> $height
#> [1] 2
#>