zoukankan      html  css  js  c++  java
  • sas datasets过程(重要)

    datasets相关选项的运用

    proc datasets library =sashelp nolist;
        copy in=sashelp out=work;
        select air class vslib ac ets; *先于copy执行;

    quit;

    proc datasets library=work nolist; delete class ets(mt=catalog); *1;
    copy
    in=work out=workme move memtype=data; *3;
    select air ac(mt=catalog); *2;
    quit;
    proc datasets library=work kill; *删除所有类型的文件;
    quit;
    *各种修改格式,索引,标签,等等;
    proc
    datasets library=workme kill; proc datasets library=sashelp nolist; copy in=sashelp out=workme; select class air; proc datasets library=workme nolist; modify class(label='test subjects' read=green); (read对数据集进行加密,后面跟密码) index create idx=(name sex)/nomiss unique; (建立多变量索引); format height 6.2; (规定格式); label height='test height'; (规定标签); modify air; rename date=new_date; quit;
  • 相关阅读:
    Kaggle & Machine Learning
    练习题目总结
    日常练习//算法类
    论文阅读
    codeforces专项
    10.26—11.1
    常见算法笔记
    DM/ML学习实践(一)
    Python常见代码
    HDU 4251 --- 主席树(划分树是正解)
  • 原文地址:https://www.cnblogs.com/yican/p/3824370.html
Copyright © 2011-2022 走看看