SyntaxFix
Write A Post
Hire A Developer
Questions
Try filter to subset only the rows of P1 and P3
df2 <- filter(df, ID == "P1" | ID == "P3")
Than yo can plot Value1. vs Value2.