Please provide a sample of the data and the code you have tried. If
"pts" is your data.frame read in from CSV and the long/lats describe
points within the mainland U.S. then this should show you sensible
points on the map:
require(maps)
map('state')
points(pts$long, pts$lat)
If not, investigate
Hi everyone,
I'm trying to input an excel datasheet with city names and lat+longs, that
has already been converted to a .csv file and make a map using R with my
data. My datasheet is 30 cities, with their lat+long, temp, elevation. So
far all I'm able to do is load the datasheet into R, I instal
2 matches
Mail list logo