Description Usage Arguments Value
Convert a 4-element bbox vector to a matrix of two columns (x and y)
| 1 | bbox_to_matrix(x = c(-72, -63, 39, 46), close = TRUE)
 | 
| x | a 4-element numeric vector of left, right, bottom, top coordinates | 
| close | logical, if TRUE then close the polygon such that the first and last verices are the same | 
a matrix of 2 columns and either 5 rows (closed) or 4 rows (open)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.