现在需要删除数据,要求如下:
if data value equal to s,a,c,m or I , then treat as missing(i.e. blank)
if one of data items 4,5,6,12,13,24,25,27,54,58,60 and 199 is missing, the delete,
missing values for all remaining data items are set to zero
这个应该怎么弄阿? 急。。。
请求帮助

|
楼主: clearbetty
|
1657
3
请问如何删除大量数据? |
|
初中生 85%
-
|
回帖推荐marloneusa 发表于2楼 查看完整内容 if your_variable in ('s' 'a' 'c' 'm' 'l') then your_variable='';
if your_v2 in (4 5 6 12 13 24 25 27 54 58 60 199) then delete;
I think it works.
本帖被以下文库推荐
| ||
|
|
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


