Displaying 1 result from an estimated 1 matches for "ordereddose".
2012 Jan 24
0
spaghetti plot - categorical variable differentiated by color
...ifferent colors for a
categorical variable (gender). I can’t find a way to add the color for
gender. Groups=ID enables individual lines for each subject. If I use
groups=gender, there will be two colors, but the lines between subjects are
connected.
This is what I have so far:
xyplot(Conc~Time| orderedDose, data=d, groups=ID, layout=c(4,1),
cex=0.5,type=”b”, strip =strip.custom(par.strip.text=list(cex=0.7)))
Please let me know how this could be done.
Thank you for your attention,
Ana
[[alternative HTML version deleted]]