Hello! I am trying to produce a graph like below: The line should connect the mean amongst the groups at each Study Week. I understand how to do multiple lines connecting each group across Study Weeks, but how can I produce one line to connect the means for each Study Week? This is my code (which does not work): proc sgplot data=alldat0&testcd ;
by subject;
vbar week/
group=vstptnumm
groupdisplay = CLUSTER
response=vsstresn
;
vline week/response=vsmean y2axis;
format vstptnumm $vstim.;
run; Vline needs to have the group= option as well. Any advice? Thanks so much! Monica
... View more