morph | R Documentation |
Change the layout and names of a bounding box. The function will figure out the current layout of your bounding box and morph it to the desired output style.
morph(bbox, output_type)
bbox |
a bounding box |
output_type |
(quoted character) the desired output format. One of
|
a bounding box in the desired format
## Not run: bbox <- c("left" = -73.848849, "bottom" = -40.979898, "right" = -28.11848, "top" = 0.703107) attr(bbox, "class") <- "bbox" bbox2 <- morph(bbox, "xy_string") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.