I am trying to add a freq count (n=) for each group in my scatter plot.
proc sgplot data= FrequencyAdd(where=(count = 6 and person = "Jim"));
scatter x=adm_dt y=Brand/ group = Brand freq=Freq_Flag;
run;
The frequency flag is always equal to 1 and keeps track of individuals.
Any suggestions?