getSpBbox {malariaAtlas}R 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"))))


[Package malariaAtlas version 1.6.1 Index]