getSpBbox: Return sp style bbox

View source: R/getSpBbox.R

getSpBboxR Documentation

Return sp style bbox

Description

Return sp style bbox

Usage

getSpBbox(sfBboxOrShp)

Arguments

sfBboxOrShp

sf shapefile or result of sf::st_bbox(sf_shp)

Value

bbox in sp style. A 2x2 matrix - the first column has the minimum, the second the maximum values; rows 1 & 2 represent the x & y dimensions respectively (matrix(c("xmin", "ymin","xmax", "ymax"), nrow = 2, ncol = 2, dimnames = list(c("x", "y"), c("min", "max"))))


malariaAtlas documentation built on Oct. 27, 2023, 9:07 a.m.