我不是100%肯定您在这里想要的东西,但是移调可能会有所帮助。
在下面查看此示例。
data have;
input
year 4.
variable $1.
pct_missing 3.;
CARDS;
2011A100
2011B90
2010A80
2010B70
2010C60
;
run;
proc sort
data=have;
by variable;
run;
Proc Transpose
data=have
out=want (drop=_name_)
prefix=pct_missing;
id year;
var pct_missing;
by variable ;
run;
安卓
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句