BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] DATA step 옵션 - RENAME

Started ‎10-28-2021 by
Modified ‎10-28-2021 by
Views 1,880
  • 변수명을 변경할 때 사용.

SAS data set( RENAME=(old-1 = new-1

old-2 = new-2

old-n = new-n ) )

 

◀예제▶   height를 ht로, weight를 wt로 변경.

 

DATA class;

SET sashelp.class( RENAME = (height = ht

Weight = wt) );

RUN;

Contributors
Version history
Last update:
‎10-28-2021 02:53 AM
Updated by:

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
Article Labels
Article Tags