课程大纲
第1天
导言和预备
-
使 R 更友好、R 和可用的 GUI
R工作室
R兴高采烈的软件和文档
R 和统计
以交互方式使用 R
介绍性会议
获取有关功能和特性的帮助
R 命令、区分大小写等。
R调用和更正以前的命令
从文件执行命令或将输出转移到文件
数据持久性和删除对象
简单的操作;数字和向量
-
向量和赋值
矢量算术
生成规则序列
逻辑向量
缺失值
字符向量
索引向量;选择和修改数据集的子集
其他类型的对象
对象、其模式和属性
-
内部属性:模式和长度
更改对象的长度
获取和设置属性
对象的类
有序因子和无序因子
-
一个具体的例子
函数 tapply() 和 ragged 数组
有序因子
数组和矩阵
-
阵 列
数组索引。数组的子部分
索引矩阵
array() 函数
混合向量和数组算术。回收规则
列表 构造和修改列表 连接列表
数据框 创建数据框
-
attach() 和 detach()
Txt 文件 CSV 文件 XLS、XLSX 文件 SPSS、SAS、Stata,...等格式数据 将数据导出为 txt、csv 和其他格式 使用 SQL 语言从数据库访问数据
-
概率分布
R 作为一组统计表 检查一组数据的分布 单样本和双样本测试
-
分组、循环和条件执行
分组表达式 控制语句 条件执行:if 语句 R重复执行:for 循环、repeat 和 while
-
第3天
编写自己的函数
-
简单示例
定义新的二进制运算符
命名参数和默认值
“...' 参数
函数内的分配
更高级的示例
模块设计中的效率因素
删除打印数组中的所有名称
R递归数值积分
范围
自定义环境
-
类、泛型函数和面向对象
无监督学习 主成分分析
-
聚类方法(k-means、分层聚类、k-medoids)
将 R 的输出与文本组合
-
创建html、pdf文档
客户评论 (5)
At the end of the class, we had a great overview of the language, we were provided tools to continue learning and were provided suggestions on how to continue learning. We covered AI/ML information.
Victor Prado - Global Knowledge Network Training Ltd
课程 - R
The R-programming overview training is quite intensive but Tomasz is always helpful, energetic and up to date. On top of it, he is passionate about R. I would highly recommend his R sessions to anyone interested in R.
Luiza Panoschi - Global Knowledge Network Training Ltd
课程 - R
Practice exercises were relevant and very helpful to reinforce the knowledge.
Andy Kwan - Environment and Climate Change Canada
课程 - R
Follow-along exercises after slide presentation kept engagement.
Robin White - Environment and Climate Change Canada
课程 - R
Michael was very knowledgeable and clear in his instruction of the training. Course was well structured to teach the desired subject as well as the right amount of room was left to adjust to fit our needs better. Over all, I am very happy with the course.