bbox_lims | R Documentation |
Return either the x-axis limits or y-axis limits.
st_xlim(x)
## S3 method for class 'sf'
st_xlim(x)
## S3 method for class 'sfc'
st_xlim(x)
## S3 method for class 'bbox'
st_xlim(x)
st_ylim(x)
## S3 method for class 'sf'
st_ylim(x)
## S3 method for class 'sfc'
st_ylim(x)
## S3 method for class 'bbox'
st_ylim(x)
x |
(bbox/sfc/sf) Either a bounding box or a geometry. |
library(sf)
data(states_map)
x <- st_xlim(states_map)
x
# The crs is preserved
st_crs(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.