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.
変数 y1 から y10 (y1 から y10 は 0 より大きい) を含む sas テーブルのサブセットを作成したいと思います。
data work.dt; set work.x; **where y1 to y10> 0;** run;
これにはショートカットがありますか?
ありがとうございました
次のように使用できますif。
if
data work.dt; set work.x; if min(of y1-y10) > 0; run;
または、書き出すこともできます。 whereは主に SQL 言語要素を使用し、変数リストなどの SAS 言語要素のすべてを完全な形式で使用することはできません。
where