I wanna creat one plot with 2 density lines for group A and B.
The data are like:
Age group
40 A
45 B
.
.
I used the codes:
proc sgplot data=emphysema ;
density age ;
by emphysema;
run;
The above codes gave me 2 seperate density plots. How can I combine them into one plot?
Thanks.
... View more