data toxr1;
infile 'N:\public_html\structured_data\toxr1.dat';
input group sex animal time day weight;
run;
title1 'RAT GROWTH DATA';
title2 '---------------';
* VIEWING THE DATA. ;
* ----------------- ;
proc print;
var group sex time day weight;
id animal;
title3 'Weights at the nine assessment times';
title4;
run;
proc sort; by animal;
/*---------------------------------------------------------
| You could plot the data for the animals here. |
---------------------------------------------------------*/
PROC GPLOT;
PLOT WEIGHT*DAY;
BY ANIMAL;
RUN;
quit;