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
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")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With