Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试为散点图中的每个组添加频率计数 (n=)。
proc sgplot data= FrequencyAdd(where=(count = 6 and person = "Jim")); scatter x=adm_dt y=Brand/ group = Brand freq=Freq_Flag; run;
频率标志始终等于 1 并跟踪个人。
有什么建议么?
假设信息在您的数据集中,请在名为 FREQ 的变量中尝试使用 TEXT 语句。
text x=adm_dt y=brand text=Freq;
https://documentation.sas.com/?docsetId=grstatproc&docsetTarget=n0lprj1bdrlrkgn1vmqnd7r6fnry.htm&docsetVersion=9.4&locale=en
为此,您确实需要更高版本的 SAS,我相信 9.4 M1+。