【发布时间】:2020-06-11 10:09:59
【问题描述】:
刚开始学习 SAS,正在阅读一本使用以下代码创建表的教科书。
Data travel;
input City $ 1-9 Nights 11 LandCost 13-16 NumberOfEvents 18
EventDescription $ 20-36 TourGuide $ 38-45
BackUpGuide $ 47-54;
datalines;
Rome 3 750 7 4 M, 3 G D’Amico Torres
Paris 8 1680 6 5 M, 1 other Lucas Lucas
London 6 1230 5 3 M, 2 G Wilson Lucas
New York 6 . 8 5 M, 1 G, 2 other Lucas D’Amico
Madrid 3 370 5 3 M, 2 other Torres D’Amico
Amsterdam 4 580 6 3 M, 3 G Vandever
;
Run;
这本书给出了预期的输出:
【问题讨论】:
标签: sas enterprise-guide