s******5 发帖数: 513 | 1 在看一本用sas的书,有个程序写了,
a=sum(_c1_, _c2_, _c3_)
之前这个_C1_什么的都是没定义的,我想应该有特定的含义吧
网上搜了一下,只有_n_的意思, 之前自己上课也学过,但是没见过这个_c1_什么的 |
k*******a 发帖数: 772 | |
s******5 发帖数: 513 | 3 如果是变量,之前一定要有定义啊~~ 这个之前没有定义,直接就拿出来算,搞得我很
郁闷~~ |
k*******a 发帖数: 772 | |
s******5 发帖数: 513 | 5 也不是,这个例子里面,这个解释反正是不work呢~~ |
d******9 发帖数: 404 | 6 hehe.....they refer to columns.
Are you using the Compute block in Proc Report??????? |
s******5 发帖数: 513 | 7 yes, it is in proc report~
never use this procedure before, a lot of confusion~~
【在 d******9 的大作中提到】 : hehe.....they refer to columns. : Are you using the Compute block in Proc Report???????
|
d******9 发帖数: 404 | 8 This is quite complex.
Before SAS assigns the column display name as shown in COLUMN and Define
statements, SAS give all the columns automatic names such as c1_, _c2_.....
_cn.... .
Then SAS replace these automatic names with the display names. |
s******5 发帖数: 513 | 9 really complex. thank you very much!
..
【在 d******9 的大作中提到】 : This is quite complex. : Before SAS assigns the column display name as shown in COLUMN and Define : statements, SAS give all the columns automatic names such as c1_, _c2_..... : _cn.... . : Then SAS replace these automatic names with the display names.
|
d******9 发帖数: 404 | |