/* plan2.sas adds bells and whistles to plan.sas */ /* both randomize treatments to e.u.s, but this code */ /* produces much nicer looking output */ /* however, you have to list a lot of treatment names in */ /* the output line, especially in the CRD */ proc plan; factors plot = 32 ordered; treatments trt = 32 random; title 'CRD Design: using output to label treatments'; output out = plan trt cvals = ( 'F3' 'F3' 'F3' 'F3' 'S3' 'S3' 'S3' 'S3' 'F6' 'F6' 'F6' 'F6' 'S6' 'S6' 'S6' 'S6' 'F12' 'F12' 'F12' 'F12' 'S12' 'S12' 'S12' 'S12' 'C' 'C' 'C' 'C' 'C' 'C' 'C' 'C' ); proc print; proc plan; factors block = 4 ordered plot = 8 ordered; treatments trt = 8 random; title "RCB: using output to label treatments"; output out = planrcb trt cvals = ('F3' 'S3' 'F6' 'S6' 'F12' 'S12' 'C' 'C'); proc print; run;