公卫百科  > 所属分类  >  SAS   
[0] 评论[0] 编辑

SAS Updating Data Sets

To correct errors in large data sets the update statement can be used:


data new;
update old changes;
by indexvar;
run;


Here changes is a data set containing the corrections to be made to the data set old. Records in old and changes with the same value of the variable indexvar are updated using the information in changes. Missing values in the data set changes do not overwrite data in old.
公卫百科


To concatenate (join) two (or more) data sets together the set statement can be used.

附件列表


0

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

如果您认为本词条还有待完善,请 编辑

上一篇 SAS Where Statement    下一篇 SAS Title Statement

标签

同义词

暂无同义词