It worked! Thank you very much! I did not know about about the alphabetical order - trying to run before I can walk. If I can ever help (South American linguistics is my field), let me know! You certainly helped me bringing my dissertation into a better shape! Best wishes, Neele
> Typo correction - brackets around pch[] and bg[]: > > points(map$longitude, map$latitude, pch=pch[as.numeric(map$number)], > col="black", bg=bg[as.numeric(map$number)], cex=1.5) > > ------- > David > Neele Mueller, M.A. PhD student "tense-mood-aspect-marking and evidentiality in South American languages" Dept. of Linguistics Erasmusplein 1, kamer E9.23 Radboud University 6525 HT Nijmegen The Netherlands Languages in Contact project (LinC) http://www.ru.nl/linc/ -- View this message in context: http://r.789695.n4.nabble.com/plotting-points-on-a-map-assigning-vectors-to-values-from-dataset-tp4643182p4643253.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.