I have the following data:
YEAR-STORM-DATETIME-NORTH-WEST-PRESSURE-WIND-SPEED-TRACKDATE 2011-arlene-6/28/2011 6:00-19.9-92.8-1007-30-NA-6/28/2011 2011-arlene-6/28/2011 12:00-20.3-93.1-1006-35-4-6/28/2011 2011-arlene-6/28/2011 18:00-20.7-93.5-1006-40-5-6/28/2011 so on..
I am new to R and I am plotting a density graph using ggmap . I also use brilliant R to display them on the website. The problem is that the output is not widescreen (square) cards. I want to have a rectangular map, such as Google maps provided by Openlayers or KML. My code is:
library(ggplot2) library(ggmap) mydata <- read.csv("C:/R Data/Analytics/dMetrics.csv") slice_year <- mydata[mydata$YEAR=='2009',] map <- get_map(c(lon = -55.3632715, lat = 31.7632836), zoom = 3, source = 'google', maptype = c("terrain"), messaging = FALSE, color = 'color') world <- ggmap(map)
I ask you to create a widescreen resolution map, possibly with a high resolution.
source share