r - Finding the axis range in ggmap class -


when geocode ggmap:

library(ggmap)     map_obj <- get_map("anchorage, ak") 

how find lat , long ranges has? can str(map_obj) , see $ll.lat, $ll.lon ... how can these? i've tried map_obj$ll.lon

i'm asking question because subset data points visible area of map instead of throwing entire lat , long vectors @ ggmap.

to bounding box data:

attr(map_obj, "bb") 

to specific coordinate:

attr(map_obj, "bb")$ll.lat 

(and on)


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -