9

I have a data frame that I would like to plot. I want each row to be plotted as a line, but when I do it says that my margins are too large. I have tried to do a for loop, but I'm new to R so it doesn't work. Can somebody please help me?

My frame is much larger, it's 67x135, but it looks something like this:

V1 V2 V3 V4 V5   
85 16 13 82 72  
30 71 14 51 43  
13 63 42 37 99
rmuc8
  • 2,869
  • 7
  • 27
  • 36
Mandy
  • 113
  • 1
  • 1
  • 3

1 Answers1

16
DF <- read.table(text="V1 V2 V3 V4 V5
85 16 13 82 72
30 71 14 51 43
13 63 42 37 99", header = TRUE)

matplot(t(DF), type = "l")
Roland
  • 127,288
  • 10
  • 191
  • 288