例如,
data a (drop = i);
do i = 1 to 10;
a = i;
output;
end;
run;
proc means data = a(where = (a > 5)) missing;
run;
在上面这个例子中,希望把a>5修改为a=任意数字。
请问高手应该怎么写?谢谢!
(当然,直接取消where=就可以了,但问题是我这个是在宏里面,有时候调用的数据集需要where有时候不需要)
楼主: caibirdcnb
|
1851
4
[问答] 请问高手 "where = 任意数字" 怎么表达,谢谢! |
讲师 47%
-
|
| ||
| ||
Let them be hard, but never unjust
|
||
| ||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明