Dear SAS Community,
I would like to add a significance "*" symbol to the datalabel in sgpanel. I was able to add an "*" to the Season=2021 but I don't know how to also add it in the other seasons too, because the significance varies from season to season.
Here is my code and graphs:
This is how I would like to have the "*" symbols in all seasons:
data dlabel; set one; if Variety in('BL516') and Harvest in(1,2,6) and Season=2021 then dlabel="*"; else dlabel=""; run;
How could I also include
if Variety in('BL516') and Harvest in(8) and Season=2022 then dlabel="*" ?
title "DTR: BL516 vs Hass by Season and Harvest month"; proc sgpanel data=dlabel; where Season in(2021, 2022, 2023) and Harvest in(1,2,3,4,5,6,8) and Variety in('BL516','Hass'); panelby Season/columns=3 onepanel ; vline Harvest/response=DTR group=Variety stat=mean datalabel=dlabel ; rowaxis values=(0 to 12 by 2) ; run;
I would greatly appreciate your help!
... View more