摘要: 本文总结SAS中的SQL过程编程技术(基础版) Part 1:【select语句综述】子句顺序(select和from是必要的其他可选):selectfromwheregroup byhavingorder by 1.建立逻辑库访问数据libname resdat "F:\SAS\ResDat"; 阅读全文
posted @ 2022-11-05 20:55 Rachellaw 阅读(398) 评论(0) 推荐(0)
摘要: 升序 PROC SORT DATA=数据集 ; RUN ; 降序 PROC SORT DATA=数据集 ; BY DESCENDING 观测行; RUN ; 多个观测行排列 BY 观测行1 观测行2; 参考:SAS 数据集排序 - SAS 教程 | BootWiki.com 阅读全文
posted @ 2022-11-05 16:44 Rachellaw 阅读(34) 评论(0) 推荐(0)
摘要: 1. 定义 定义宏变量 %LET name = value; call symput ( name, value ); sql步骤中:proc sql; select distinct(USUBJID) into : NAME1 -:NAME3 from adsl; quit; 定义宏 %macro 阅读全文
posted @ 2022-11-05 15:42 Rachellaw 阅读(67) 评论(0) 推荐(0)
摘要: MDY(m,d,yr) 生成yr年m月d日的SAS日期值 HMS(h,m,s) 由小时h、分钟m、秒s生成SAS时间值 DHMS(d,h,m,s) 由SAS日期值d、小时h、分钟m、秒s生成SAS日期时间值 DATE() /TODAY()/DATETIME()/TIME() 返回现在时间 YEAR( 阅读全文
posted @ 2022-10-31 23:24 Rachellaw 阅读(180) 评论(0) 推荐(0)
摘要: 1. 大小写 upcase(str) 将str所有字母转化为大写 lowcase(str) 将str所有字母转化为小写 propcase(str) 将字符串str第一个字母大写,其余小写 2. 压缩 compbl(str) 将两个或者两个以上的空格压缩为一个空格 compress(str, ‘sig 阅读全文
posted @ 2022-10-27 14:17 Rachellaw 阅读(76) 评论(0) 推荐(0)
摘要: 原因 浏览器上不支持crypto, fs, http, https, net, path, stream, tls, zlib。 解决方法 在package.json中添加以下内容: "browser": { "http": false, "https": false, "net": false, 阅读全文
posted @ 2022-05-30 21:04 Rachellaw 阅读(325) 评论(0) 推荐(0)
摘要: 使用vuex插件时报错 Uncaught TypeError: Cannot read properties of undefined (reading 'use') 我的项目树 | -- mytest | -- src | -- App.vue | -- main.js | -- store |- 阅读全文
posted @ 2022-05-29 11:10 Rachellaw 阅读(167) 评论(1) 推荐(0)
摘要: 报错原因:import引入语句问题大小写的问题 解决方案:import {Vue} from ‘vue’; import {Vuex} from ‘vuex’; 阅读全文
posted @ 2022-05-29 10:17 Rachellaw 阅读(287) 评论(0) 推荐(0)