0

How can I draw scatter plot of a data.frame that has 1000 columns? I see ggpairs is good but sounds useful when I have limited number of columns. I don't think a for loop for ggplot is the most efficient way. What other methods do you suggest?

Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
  • 2
    what will you eventually so with 1M plots? – HubertL Nov 21 '16 at 20:20
  • 3
    When I plot, I first ask myself "what do I want my data to show"? Ideally, everything, but if volume becomes prohibitive, I start breaking it down and summarizing. To drill to the bedrock of my writing, what are you trying to show? – Roman Luštrik Nov 21 '16 at 20:23
  • you can try `plot(mtcars)` although even with just 11 columns this gets messy. or http://stackoverflow.com/questions/4877357/how-to-plot-all-the-columns-of-a-data-frame-in-r – rawr Nov 21 '16 at 20:31

0 Answers0