Data visualization with SAS programming

Order in Proc PLM EffectPlot

Reply
Frequent Learner
Posts: 1

Order in Proc PLM EffectPlot

The following code produces the effectplot attached. As you can see, the x-axis (ADI) goes 1 2 3 0. Is there any way to order the x-axis to be 0 1 2 3?

Thanks so much!

Doug.

  

Proc GLIMMIX Data=analysis;

   Effect splrf=spline(rf / degree=2 knotmethod=equal(1));

   Class PSagegp(ref='40');

   Class ADI(ref='0');

   Model SRH = ADI splrf PSagegp sexn / solution;

   Weight weight;

   Store splrfADI;

run;

Proc PLM restore=splrfADI;

   EffectPlot interaction(x=ADI plotby=PSagegp) / at(sexn=0 rf=0) CLM;

run;

Attachment
Ask a Question
Discussion stats
  • 0 replies
  • 215 views
  • 0 likes
  • 1 in conversation