I ran this code:
DATA marker_map;
input id $2. VALUE $7. MARKERSYMBOL $5. MARKERCOLOR $6.;
VALUE = strip(value);
DATALINES;
ms Male X blue
ms Female plus green
;
run;
PROC SGPANEL data= death_1 dattrmap=marker_map;
panelby Age_group;
SCATTER Y = COVID_19_Deaths X = Total_Deaths / group =Sex attrid=ms;
RUN;
And for some reason it runs the proc sgpanel BUT it doesn't want to read attrid=ms. It keeps returning with the warning: Invalid attrid "MS" specified. The attrid will be ignored.
What am I doing wrong?
Provide the contents of your Dattrmap dataset marker_map.
If you do not have id "ms" that is the primary issue.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.