Hi to all, I need to change values of the 'cause' from the axis values from 1,2,3,4,5 to 1=Trauma, 2= Vascular with Diabetes, 3= Vascular without diabetes', 4=Oncologic. Ideally, I would like to also assign the right gender to the columns (1=male, 2=female, for the Gender variable). This is the code that I have so far: ods graphics / reset width=6.4in height=4.8in imagemap; proc sgplot data=MEDSTUD.STRIDE_T; vbar Cause / group=Gender groupdisplay=cluster fillattrs=(transparency=0.75) datalabel stat=percent; yaxis grid; run; ods graphics / reset; Please, could you highlight in your answer the changes? I attach the data set in the attachments. Would you keep the same code to rename of the values in the same way, if you were to produce the table of frequencies? if not, please, could you post an example as well? Thank you again for everyone's support! Best regards, Agnieszka (a complete newbie to SAS)
... View more