SyntaxFix
Write A Post
Hire A Developer
Questions
Are you looking for the following plot:
library(ggplot2) l<-df[df$ID %in% c("P1","P3"),] myplot<-ggplot(l)+geom_line(aes(Value1, Value2, group=ID, colour=ID))