Re: [R] Labeling world map

2015-07-25 Thread Ray Brownrigg
On 24/07/2015 7:37 p.m., sreenath wrote: I draw world map using library(maptools) library(ggmap) library(mapdata) library(maps) map("world",fill=TRUE,col="White",bg="light blue",ylim=c(-60,90),mar=c(0,0,0,0)) native <- c("brazil","sao paulo state") nat <-geocode(native) nat.x <- nat$lon nat.

[R] Labeling world map

2015-07-24 Thread sreenath
I draw world map using library(maptools) > library(ggmap) > library(mapdata) > library(maps) >map("world",fill=TRUE,col="White",bg="light blue",ylim=c(-60,90),mar=c(0,0,0,0)) >native <- c("brazil","sao paulo state") > nat <-geocode(native) >nat.x <- nat$lon > nat.y <- nat$lat >points(nat.x,nat.y,c