Hi everyone,
I am trying to create a spaghetti plot for serum vitamin levels at 2 time points.
So x axis would be time (days), y axis would be serum vitamin levels.
For example, this is how my data is set out:
ID Days SerumVitA
1 357 1.99
1 0 .76
10 0 1.47
10 248 2.39
Additionally, I'd like to add in a median line.
I tried using spagplot, however it seemed to connect some of the lines together where they shouldn't have been connected.
Any help would be so much appreciated.
Laura
I am trying to create a spaghetti plot for serum vitamin levels at 2 time points.
So x axis would be time (days), y axis would be serum vitamin levels.
For example, this is how my data is set out:
ID Days SerumVitA
1 357 1.99
1 0 .76
10 0 1.47
10 248 2.39
Additionally, I'd like to add in a median line.
I tried using spagplot, however it seemed to connect some of the lines together where they shouldn't have been connected.
Any help would be so much appreciated.
Laura
Comment