Friday, June 4, 2010

SAS: Spaghetti Plots for growth curves using SAS v.9.2 PROC SGPLOT and PROC SGPANEL

Reposted from http://statcode.blogspot.com/2009/12/sas-spaghetti-plots-for-growth-curves.html

proc sort data=dat1;
by trt id time;
run;

proc sgplot data=dat1;
series x=time y=vol/group=trt break;
run;



proc sgpanel data=dat1;
panelby trt;
series x=time y=vol/break group=trt;
run;



No comments:

Post a Comment

Subscribe via email

Enter your email address:

Delivered by FeedBurner

Followers

Blog Archive

google analytics