Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5885 posts at DZone. View Full User Profile

Read CSV And Plot

10.04.2005
Email
Views: 5504
  • submit to reddit
        
 oaks <- read.table("assign1/oaksdf.csv",sep=",")
 oakpts <- as.points(oaks[,1],oaks[,2])
 plot(oakpts)