由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - how to get variable names and # of variable names in sas dataset
相关主题
如何比较两个proc contents的结果?请教一个关于R的问题
how to write a series of variables Q29B4B-Q29B30B in array ?求问 sas _c_ 什么意思
sas新手求救,合并databases在 R 里面如何循环调用变量名
SAS 问题:关于比较variable 包子答谢How to do 'look up' in R?
[help]10个包子求KDD cup 2009 的orange公司datasetSAS一问
SAS里怎么根据VALUE来选择需要OUTPUT的COLUMNSlarge dataset impot into SAS
Help! A data step problemR问题请教:如何从data frame按条件取出部分column
sas question问个proc merge问题。
相关话题的讨论汇总
话题: dataset话题: column话题: names话题: variable话题: get
进入Statistics版参与讨论
1 (共1页)
d*******1
发帖数: 293
1
I want to draw frequency distribution plot based on each column in dataset. I do not know how
many columns and the column names since it will change with dataset.
So i want to write a macro to draw a plot for a column of specific dataset
and then use loop.
%Macro drawplot(&dataset, &column_name)
and use loop to draw all plots for all column.
but problem is:
1. how can I get column name of dataset (if I know it is #i column in
dataset)
2. how can I get # of columns in dataset
d*******1
发帖数: 293
2
found a method using proc sql
r*****o
发帖数: 140
3
Proc Content
j**********3
发帖数: 305
4
Use macro variable to read variable name in the sashelp.vcolumn dataset.
1 (共1页)
进入Statistics版参与讨论
相关主题
问个proc merge问题。[help]10个包子求KDD cup 2009 的orange公司dataset
SAS help: how to count missing values of columns in a datasetsSAS里怎么根据VALUE来选择需要OUTPUT的COLUMNS
how to read in 1/0 datasets in SAS?Help! A data step problem
SAS处理Large Dataset太慢了,怎么办?sas question
如何比较两个proc contents的结果?请教一个关于R的问题
how to write a series of variables Q29B4B-Q29B30B in array ?求问 sas _c_ 什么意思
sas新手求救,合并databases在 R 里面如何循环调用变量名
SAS 问题:关于比较variable 包子答谢How to do 'look up' in R?
相关话题的讨论汇总
话题: dataset话题: column话题: names话题: variable话题: get