@TOC
# 前言 **R是用于统计分析、绘图的语言和操作环境。R是属于GNU系统的一个自由、免费、源代码开放的软件,它是一个用于统计计算和统计制图的优秀工具。**
# 一、R语言入门 ## 1.基本语法 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/96d19c4ca6904d22a3ac5184119b10d8.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 2.R包的安装 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/e155a75ccf3c4641a65215462958a9bf.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 3.R包的使用 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/f02f0be74d234c03b21cffbf9b12b528.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_18,color_FFFFFF,t_70,g_se,x_16) ## 4.获取帮助 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/78507c51db9445d196a2b9456653edec.png) ## 5.内置数据集 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/8305bbf8357e4fc0a61046e24eb18804.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 6.向量 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/7d209f4bd2f6459bb870643f280fc621.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 7.向量索引 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/72f4148232a74464b700c435fc6f079e.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 8.向量运算 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/55d8132654164c9aa0140ddf04d6d548.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 9.矩阵 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/aecf94e1f6f64186b25a52ef90c86e4c.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 10.因子 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/3e08cc58c4894111bfaf31259937c68c.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 11.数据框 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/0f70efaa6f91446c9f94950aad43f6bd.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 12.缺失值 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/5a7efe7a5427412eaf461d0a782e91b8.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16) ## 13.读取数据 ![在这里插入图片描述](https://ucc.alicdn.com/images/user-upload-01/75a5eab2c12648b9a9bb3c3add139e35.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAV1NLSDA5Mjk=,size_20,color_FFFFFF,t_70,g_se,x_16)