随笔分类 -  R

摘要:scripts备忘;省去每次都要翻笔记的时间 阅读全文
posted @ 2023-09-16 09:09 歪歪ba 阅读(23) 评论(0) 推荐(0) 编辑
摘要:安装WSL2 参考这里 换源 参考这里 build-essential(gcc,g++,make) 参考这里 安装最新版本的R (4.x.x) 参考这里 安装Rstudio-server 参考这里 阅读全文
posted @ 2023-03-26 20:54 歪歪ba 阅读(31) 评论(0) 推荐(0) 编辑
摘要:# Create test matrix(造数据) set.seed(6) test = matrix(rnorm(200), 20, 10) test[1:10, seq(1, 10, 2)] = test[1:10, seq(1, 10, 2)] + 3 test[11:20, seq(2, 1 阅读全文
posted @ 2023-03-12 23:54 歪歪ba 阅读(980) 评论(0) 推荐(0) 编辑
摘要:使用的R包:FactoMineR factoextra FactoMineR提供PCA算法以及(原始)结果;factoextra则extract and visualize the output Principal Component Analysis (PCA), which is used to 阅读全文
posted @ 2023-03-05 23:03 歪歪ba 阅读(101) 评论(0) 推荐(0) 编辑
摘要:# Create test matrix test = matrix(rnorm(200), 20, 10) test[1:10, seq(1, 10, 2)] = test[1:10, seq(1, 10, 2)] + 3 test[11:20, seq(2, 10, 2)] = test[11: 阅读全文
posted @ 2023-03-02 18:41 歪歪ba 阅读(381) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示