Hi everyone, I'm still struggling with this. Thanks in advance for
your help.
Please ignore the earlier posts regarding this; here's a concise
summary. What I want is a scatterplot where every point (x,y) is a
person being measured on x and on y w.r.t. to some factor, and every
person should have exactly 3 such points because there are 3 factors.
I want to color the points according to the factor.
And here's the dataframe I get from the database:
id prop fct val
1 x a 0.1
1 y a 0.3
1 x b 0.2
1 y b 0.4
1 x c 0.3
1 y c 0.6
This is person w/ id=1 measured on x and y w.r.t. factors a, b, and c,
which should result in exactly 3 points.