From 9f5c2378a91f2e3201f8e43f8173f05eed31334a Mon Sep 17 00:00:00 2001 From: Lucas <117806313+Lucas04-nhr@users.noreply.github.com> Date: Sun, 10 Dec 2023 09:58:33 +0800 Subject: [PATCH 01/10] Develop (#9) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files --- .gitignore | 3 -- docs/cnindex.html | 4 +- docs/index.html | 2 +- ...\200\234R for Data Science\342\200\235.md" | 52 +++++++++++++++++++ ...0\234R for Data Science\342\200\235_CN.md" | 52 +++++++++++++++++++ 5 files changed, 107 insertions(+), 6 deletions(-) create mode 100644 "markdown/Review of the course \342\200\234R for Data Science\342\200\235.md" create mode 100644 "markdown/Review of the course \342\200\234R for Data Science\342\200\235_CN.md" diff --git a/.gitignore b/.gitignore index dd77616..3ea50fd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,9 +4,6 @@ # Script Files /scripts/* -# Script Files -/scripts/*.R - # GitHub Page Dependencies # English Version markdown/ Review of the course “R for Data Science”.md diff --git a/docs/cnindex.html b/docs/cnindex.html index 006fe61..424f5eb 100644 --- a/docs/cnindex.html +++ b/docs/cnindex.html @@ -948,7 +948,7 @@ mjx-container[jax="SVG"] path[data-c], mjx-container[jax="SVG"] use[data-c] { stroke-width: 0; } @media print { @page {margin: 0 0 0 0;} body.typora-export {padding-left: 0; padding-right: 0;} #write {padding:0;}} - Review of the course “R for Data Science”_CN +Review of the course “R for Data Science”_CN

Review of the course “R for Data Science”

@@ -957,7 +957,7 @@ GitHub open pull requests GitHub open pull requests GitHub Pages Status -

By Haoran Nie @ HUST Life ST

Reference: R for Data Science

The book updated to 2nd ed. on July,2023, here’ s a link to the official website.

This work is licensed under CC BY-NC-SA 4.0

这是经过部分翻译的中文文档的目录,您可以在这里找到英语原版文件的目录。

为了缩小每份文件的篇幅,我把整个评论分成了三份文件,本页是所有文件的目录。

注:本资料的目的不仅仅是为了应对“R for Data Science”课程的期末考试,还是在之后的学习过程中需要用到R语言处理数据及绘制图像的有效参考资料之一,故生成了很多版本很多格式的文件,方便使用者在不同条件不同设备上更加方便地查看。如果觉得本项目对你的R语言学习及使用有所帮助,欢迎点击“Star”并且关注我,也欢迎任何人通过“issue”提交错误报告及通过“Pull Request”参与合作共建。

在此向参与共建或者提供建设性意见的用户表示诚挚的谢意(按照提出建议或参与共建的先后时间排序):

本页提供网页版和源代码文件的直接链接。 不过,我也使用 TyporaLATEX 制作 PDF 文件(通过 LuaLATEXTinyTeX 中编译),你可以在下列链接中找到:

Part 01 (Talk 01 ~ 04)

Part 02 (Talk 05 ~ 08)

Part 03 (Talk 09 ~ 12)

 

+

By Haoran Nie @ HUST Life ST

Reference: R for Data Science

The book updated to 2nd ed. on July,2023, here’ s a link to the official website.

This work is licensed under CC BY-NC-SA 4.0

这是经过部分翻译的中文文档的目录,您可以在这里找到英语原版文件的目录。

为了缩小每份文件的篇幅,我把整个评论分成了三份文件,本页是所有文件的目录。

注:本资料的目的不仅仅是为了应对“R for Data Science”课程的期末考试,还是在之后的学习过程中需要用到R语言处理数据及绘制图像的有效参考资料之一,故生成了很多版本很多格式的文件,方便使用者在不同条件不同设备上更加方便地查看。如果觉得本项目对你的R语言学习及使用有所帮助,欢迎点击“Star”并且关注我,也欢迎任何人通过“issue”提交错误报告及通过“Pull Request”参与合作共建。

在此向参与共建或者提供建设性意见的用户表示诚挚的谢意(按照提出建议或参与共建的先后时间排序):

本页提供网页版和源代码文件的直接链接。 不过,我也使用 TyporaLATEX 制作 PDF 文件(通过 LuaLATEXTinyTeX 中编译),你可以在下列链接中找到:

Part 01 (Talk 01 ~ 04)

Part 02 (Talk 05 ~ 08)

Part 03 (Talk 09 ~ 12)

 

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 19e3556..771a8ce 100644 --- a/docs/index.html +++ b/docs/index.html @@ -948,7 +948,7 @@ mjx-container[jax="SVG"] path[data-c], mjx-container[jax="SVG"] use[data-c] { stroke-width: 0; } @media print { @page {margin: 0 0 0 0;} body.typora-export {padding-left: 0; padding-right: 0;} #write {padding:0;}} - Review of the course “R for Data Science” +Review of the course “R for Data Science”

Review of the course “R for Data Science”

diff --git "a/markdown/Review of the course \342\200\234R for Data Science\342\200\235.md" "b/markdown/Review of the course \342\200\234R for Data Science\342\200\235.md" new file mode 100644 index 0000000..938cb0a --- /dev/null +++ "b/markdown/Review of the course \342\200\234R for Data Science\342\200\235.md" @@ -0,0 +1,52 @@ +# Review of the course “R for Data Science” + +
+ GitHub stars + GitHub forks + GitHub open pull requests + GitHub open pull requests + GitHub Pages Status +
+ +**By Haoran Nie @ HUST Life ST** + +> Reference: [R for Data Science](https://r4ds.had.co.nz) +> +> The book updated to 2^nd^ ed. on July,2023, here’ s a [link](https://r4ds.hadley.nz) to the official website. + +

This work is licensed under CC BY-NC-SA 4.0

+ +This is the original TOC, you can find partially-translated Chinese TOC [here](./cnindex.html). + +To reduce the size of each document, I've split the entire review into three documents, and this page is a table of contents for all of them. + +**Note: **The purpose of this material **not only **to deal with the "R for Data Science" course final exam, or in the subsequent learning process need to use the R language to deal with data and draw images of one of the effective reference materials, so generate a lot of versions of many formats of the file, to facilitate the user to different conditions on different devices to view more easily. Therefore, many versions and formats of files have been generated to make it easier for users to view them under *different conditions* and on *different devices*. If you think this project is helpful to your R language learning and usage, welcome to click on **"Star"** and **follow** me, also welcome anyone to submit bug reports through "issue" and participate in cooperation through **"Pull Request"**. + +We would like to express our sincere gratitude to the users who participated in the co-construction or provided constructive suggestions (in the order of the time they made the suggestions or participated in the co-construction): + +- [Rui Zhu](https://github.com/1508324011) +- [Tianhao Wang](https://github.com/lwstkhyl) + +This page has direct link to the web version and source markdown files. However, I also create PDF files using *Typora* and $\LaTeX$ (compiling by $\mathrm{Lua}\LaTeX$ in $\mathrm{TinyTeX}$), you can find it in these folders: + +- [PDF files created by *Typora*](https://github.com/Lucas04-nhr/Review-of-R/tree/main/PDF/EN) +- [PDF files created by $\LaTeX$ and the TeX source code](https://github.com/Lucas04-nhr/Review-of-R/tree/main/LaTeX/EN) + +# Part 01 (Talk 01 ~ 04) + +- [Direct web link](./REVIEW_01.html) +- [Source Markdown document](https://github.com/Lucas04-nhr/Review-of-R/blob/main/markdown/REVIEW_01.md) + +# Part 02 (Talk 05 ~ 08) + +- [Direct web link](./REVIEW_02.html) +- [Source Markdown document](https://github.com/Lucas04-nhr/Review-of-R/blob/main/markdown/REVIEW_02.md) + +# Part 03 (Talk 09 ~ 12) + +- [Direct web link](./REVIEW_03.html) + +- [Source Markdown document](https://github.com/Lucas04-nhr/Review-of-R/blob/main/markdown/REVIEW_03.md) + + + diff --git "a/markdown/Review of the course \342\200\234R for Data Science\342\200\235_CN.md" "b/markdown/Review of the course \342\200\234R for Data Science\342\200\235_CN.md" new file mode 100644 index 0000000..6a48824 --- /dev/null +++ "b/markdown/Review of the course \342\200\234R for Data Science\342\200\235_CN.md" @@ -0,0 +1,52 @@ +# Review of the course “R for Data Science” + +
+ GitHub stars + GitHub forks + GitHub open pull requests + GitHub open pull requests + GitHub Pages Status +
+ +**By Haoran Nie @ HUST Life ST** + +> Reference: [R for Data Science](https://r4ds.had.co.nz) +> +> The book updated to 2^nd^ ed. on July,2023, here’ s a [link](https://r4ds.hadley.nz) to the official website. + +

This work is licensed under CC BY-NC-SA 4.0

+ +这是经过部分翻译的中文文档的目录,您可以在[这里](./index.html)找到英语原版文件的目录。 + +为了缩小每份文件的篇幅,我把整个评论分成了三份文件,本页是所有文件的目录。 + +**注:**本资料的目的**不仅仅**是为了应对“R for Data Science”课程的期末考试,还是在之后的学习过程中需要用到R语言处理数据及绘制图像的有效参考资料之一,故生成了很多版本很多格式的文件,方便使用者在不同条件不同设备上更加方便地查看。如果觉得本项目对你的R语言学习及使用有所帮助,欢迎点击“Star”并且关注我,也欢迎任何人通过“issue”提交错误报告及通过“Pull Request”参与合作共建。 + +在此向参与共建或者提供建设性意见的用户表示诚挚的谢意(按照提出建议或参与共建的先后时间排序): + +- [Rui Zhu](https://github.com/1508324011) +- [Tianhao Wang](https://github.com/lwstkhyl) + +本页提供网页版和源代码文件的直接链接。 不过,我也使用 *Typora* 和 $\LaTeX$ 制作 PDF 文件(通过 $\mathrm{Lua}\LaTeX$ 在 $\mathrm{TinyTeX}$ 中编译),你可以在下列链接中找到: + +- [用 *Typora*生成的PDF文件](https://github.com/Lucas04-nhr/Review-of-R/tree/main/PDF/CN) +- [用 $\LaTeX$ 编译的PDF文件及$\mathrm{TeX}$源码](https://github.com/Lucas04-nhr/Review-of-R/tree/main/LaTeX/CN) + +# Part 01 (Talk 01 ~ 04) + +- [网页版](./REVIEW_01_CN.html) +- [原始Markdown文件](https://github.com/Lucas04-nhr/Review-of-R/blob/main/markdown/REVIEW_01_CN.md) + +# Part 02 (Talk 05 ~ 08) + +- [网页版](./REVIEW_02_CN.html) +- [原始Markdown文件](https://github.com/Lucas04-nhr/Review-of-R/blob/main/markdown/REVIEW_02_CN.md) + +# Part 03 (Talk 09 ~ 12) + +- [网页版](./REVIEW_03_CN.html) + +- [原始Markdown文件](https://github.com/Lucas04-nhr/Review-of-R/blob/main/markdown/REVIEW_03_CN.md) + + + From 5c1dafbc7091d4963fdfd42af78899a7f0d7678a Mon Sep 17 00:00:00 2001 From: Lucas <117806313+Lucas04-nhr@users.noreply.github.com> Date: Sun, 10 Dec 2023 10:07:31 +0800 Subject: [PATCH 02/10] Develop (#10) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files * Revert "Merge branch 'main' into develop" This reverts commit 7f8889a8b9ddcb34ba6434db7de63bad3d787f85, reversing changes made to 0a7b042d379ffde0cbdedd6012958ecb98842c3f. * Reorganize files * Reorganize files --- docs/.DS_Store | Bin 0 -> 8196 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 docs/.DS_Store diff --git a/docs/.DS_Store b/docs/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..2d0852ea43d741b95778df3d039d65b019cb0f23 GIT binary patch literal 8196 zcmeHLS!~=y7@prbY7@7av}v2VNxN-&Kv`%uJ=2u3Nj4~`54g9r(sa(N`r z@A;1z&+qS>@t6<-t$8g*NDU!G#EVHA=cA0-!8K zwO{Za&jEf+B#`kyj&tdUVxRo<06{1OM-1TMXpb;=l<`20bIHRA@Nfdb$Pk=Rz#kps zBECC;IG14^W+2SK>v28P5yjRn`hCY&_)or%rsfMLHet@Cr=yIsfurzz5)y`X*>&GU!LBf)v z%IN4Vu~@7z8rigM%UCor+SJ$(jcjge92=9w#q}GT_ot4TS<61jrvbrIK<3Yw)~V@p zGKXTxjGfK-UWZRl%&@wJHvY$=q`5fbE5VFK>4pkG0miLua3G(H{;l**=@T9>t>+e z(@%KJHp|q1(6t?}&F`$=!2Y=x&Aa-39XmA&dIGz4t7l9eq*oU#tzETt!^X``yV^ST zbWc{&s)e$=cu8NuaE-L752$WNw=}~VIxu2r-ta+u2bO2tZRn09Rl%7aOU>$&3#({l z%`!#l&!>&!dBeMh){COAty`fegBp(A=IB^!^ju(Ay+V->F~eS4W8G<@tU4KZ0cV5(`|q?*LX*|Jqu`U*VHba$ZK(JU+d_%^fn$Zi!x z1NH53MLEKT-lMu+S5CL^vCapNm1tL#gYK~E=v^a-NBUl%??k=-{?Nk0+BL(ooxr#k zCpo}6Y|%8Fi0EfgQIb8PNIy$aYFGsWS%B}5lR>I4zK8nw27Ws&74`8r*Gjn2)saS$ zAbZGB;*e2tiabqDle6Rkxkx@IUyyIe59AsE2v7p$Pyy9Y2P+{0t6&3ch3(J;JD?4^ z;V#$@gK!kmkO2*{;D85tD8T*jAUq6@z@zXKJOj_c^Y8+kfeCmG&cZo(2R?$2;S=~2 zuE5vuEnJ1~;3uI}C=<$sN@1Cx2+M^v!dhXSaHG&H>=fFCeZrui@rM_RlpEyjVlC)+ zH)RZjqr zN4?Lm8E~CMvMsNzlUEjL%E>u}tVkFAgvc;Y=W*}V@){B8Ld$q_y?m31M4{!p8Lhol zL~c^>n{upnlY|7MCA=A}-6n}t;Ef&fP6??JSYdwST>2qc`NwgT q{&5^-a2)r2Bk0Ov;(;9J5;a(^`;UM>_fZ}0|Ka|RX#MZ(|Gxr;M4es$ literal 0 HcmV?d00001 From 02f200a4742b3aeeee83435e903395421c4d6c44 Mon Sep 17 00:00:00 2001 From: 1508324011 <108476368+1508324011@users.noreply.github.com> Date: Sun, 10 Dec 2023 10:27:14 +0800 Subject: [PATCH 03/10] Delete .DS_Store --- docs/.DS_Store | Bin 8196 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 docs/.DS_Store diff --git a/docs/.DS_Store b/docs/.DS_Store deleted file mode 100644 index 2d0852ea43d741b95778df3d039d65b019cb0f23..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHLS!~=y7@prbY7@7av}v2VNxN-&Kv`%uJ=2u3Nj4~`54g9r(sa(N`r z@A;1z&+qS>@t6<-t$8g*NDU!G#EVHA=cA0-!8K zwO{Za&jEf+B#`kyj&tdUVxRo<06{1OM-1TMXpb;=l<`20bIHRA@Nfdb$Pk=Rz#kps zBECC;IG14^W+2SK>v28P5yjRn`hCY&_)or%rsfMLHet@Cr=yIsfurzz5)y`X*>&GU!LBf)v z%IN4Vu~@7z8rigM%UCor+SJ$(jcjge92=9w#q}GT_ot4TS<61jrvbrIK<3Yw)~V@p zGKXTxjGfK-UWZRl%&@wJHvY$=q`5fbE5VFK>4pkG0miLua3G(H{;l**=@T9>t>+e z(@%KJHp|q1(6t?}&F`$=!2Y=x&Aa-39XmA&dIGz4t7l9eq*oU#tzETt!^X``yV^ST zbWc{&s)e$=cu8NuaE-L752$WNw=}~VIxu2r-ta+u2bO2tZRn09Rl%7aOU>$&3#({l z%`!#l&!>&!dBeMh){COAty`fegBp(A=IB^!^ju(Ay+V->F~eS4W8G<@tU4KZ0cV5(`|q?*LX*|Jqu`U*VHba$ZK(JU+d_%^fn$Zi!x z1NH53MLEKT-lMu+S5CL^vCapNm1tL#gYK~E=v^a-NBUl%??k=-{?Nk0+BL(ooxr#k zCpo}6Y|%8Fi0EfgQIb8PNIy$aYFGsWS%B}5lR>I4zK8nw27Ws&74`8r*Gjn2)saS$ zAbZGB;*e2tiabqDle6Rkxkx@IUyyIe59AsE2v7p$Pyy9Y2P+{0t6&3ch3(J;JD?4^ z;V#$@gK!kmkO2*{;D85tD8T*jAUq6@z@zXKJOj_c^Y8+kfeCmG&cZo(2R?$2;S=~2 zuE5vuEnJ1~;3uI}C=<$sN@1Cx2+M^v!dhXSaHG&H>=fFCeZrui@rM_RlpEyjVlC)+ zH)RZjqr zN4?Lm8E~CMvMsNzlUEjL%E>u}tVkFAgvc;Y=W*}V@){B8Ld$q_y?m31M4{!p8Lhol zL~c^>n{upnlY|7MCA=A}-6n}t;Ef&fP6??JSYdwST>2qc`NwgT q{&5^-a2)r2Bk0Ov;(;9J5;a(^`;UM>_fZ}0|Ka|RX#MZ(|Gxr;M4es$ From 3c2e48c83113203ac31e09734342b6a9365ced12 Mon Sep 17 00:00:00 2001 From: 1508324011 <108476368+1508324011@users.noreply.github.com> Date: Sun, 10 Dec 2023 10:27:16 +0800 Subject: [PATCH 04/10] Update REVIEW_01_CN.md --- markdown/REVIEW_01_CN.md | 152 ++++++++++++++++++++++++++++++++------- 1 file changed, 128 insertions(+), 24 deletions(-) diff --git a/markdown/REVIEW_01_CN.md b/markdown/REVIEW_01_CN.md index ffc945c..a876832 100644 --- a/markdown/REVIEW_01_CN.md +++ b/markdown/REVIEW_01_CN.md @@ -2,8 +2,6 @@ **By Haoran Nie @ HUST Life ST** -**Partically translated by [Rui Zhu @ HUST Life ST](https://github.com/1508324011)** - **双语版** > Reference: [R for Data Science](https://r4ds.had.co.nz) @@ -24,11 +22,13 @@ This section has ~~nothing~~ something to explain :) ## Install R -Go go ~~~~~~(清华镜像)~~[华科镜像](https://mirrors.hust.edu.cn/CRAN)(https://mirrors.hust.edu.cn/CRAN),R支持主流的操作系统包括Linux,Windows和MacOS,请根据操作系统下载对应的安装文件。 +Go go +(清华镜像),R支持主流的操作系统包括Linux,Windows和MacOS,请根据操作系统下载对应的安装文件。 -新版本的Mac OS还需要安装XQuartz()。某些还需要用到Xcode,可以从AppStore免费安装或者使用`xcode --select install`命令从控制台安装“XCode命令行工具”(体积更小更实用)。 +新版本的Mac OS +X还需要安装XQuartz()。某些还需要用到Xcode,可以从AppStore免费安装。 -目前大多Linux发行版都带有R,因此可直接使用。从CRAN下载文件进行安装稍显复杂,要求用户对Linux系统有一定的了解,而且需要有管理员权限。建议初级用户在Linux高手指导下安装。点击"Download R for Linux"后,发行版为Redhat(红帽)或Suse的用户要先阅读网站上提供的readme或readme.html文件,然后其中的指示进行安装。这里就不再累述了。 +目前大多Linux发行版都带有R,因此可直接使用。从CRAN下载文件进行安装稍嫌复杂,要求用户对Linux系统有一定的了解,而且需要有管理员权限。建议初级用户在Linux高手指导下安装。点击"Download R forLinux"后,发行版为Redhat(红帽)或Suse的用户要先阅读网站上提供的readme或readme.html文件,然后其中的指示进行安装。这里就不再累述了。 ## R studio @@ -438,6 +438,8 @@ data2 = Create the "table header" first, then populate the `data.frame` +先创建"表头",再填充 + ```R df2 = data.frame( @@ -466,6 +468,22 @@ df2 = z = 4.4 ) ) + +df2 + x y z +1 a 1 2.2 +2 b 2 4.4 + +m <- cbind(1, 1:7) ; ## 产生两列数据 7行数据 .. +( m <- cbind(m, 8:14) ); ## 增加一列 也有7行数据 ... + [,1] [,2] [,3] +[1,] 1 1 8 +[2,] 1 2 9 +[3,] 1 3 10 +[4,] 1 4 11 +[5,] 1 5 12 +[6,] 1 6 13 +[7,] 1 7 14 ``` **ATTENTION** @@ -480,9 +498,11 @@ You can also use these functions to bind several data.frames. `tibble` is kind of similar to `data.frame`. +**注**:Tibble class 是 data.frame 的升级版本; + ### Make new `tibble` -`tibble` related functionality is provided by the `tibble` or `tidiverse` packages. +`tibble`相关功能由`tibble`或`tidiverse`包提供 Almost all of the functions that you’ll use in this book produce tibbles, as tibbles are one of the unifying features of the tidyverse. Most other R packages use regular data frames, so you might want to coerce a data frame to a tibble. You can do that with `as_tibble()`: @@ -500,7 +520,13 @@ as_tibble(iris) #> # ℹ 144 more rows ``` -Another way to create a tibble is with `tribble()`, short for **tr**ansposed tibble. `tribble()` is customised for data entry in code: column headings are defined by formulas (i.e. they start with `~`), and entries are separated by commas. This makes it possible to lay out small amounts of data in easy to read form. +Another way to create a tibble is with `tribble()`, short for **tr**ansposed tibble. `tribble()` is customised for data entry in code: 列标题由公式定义(即以“~”开头),条目由逗号分隔。这使得以易于阅读的形式布置少量数据成为可能。 + +也可以用 tibble 函数创建 + +- 注意每列的数据类型 +- 长度不足时,比如**data2**列,会循环使用 +- `sample()`函数的用法 ```R tribble( @@ -514,11 +540,81 @@ tribble( #> #> 1 a 2 3.6 #> 2 b 1 8.5 + +## 用 tibble 函数创建,用法和 data.frame() 相似 +dat <- + tibble( data = sample( 1:100, 10 ), + group = sample( LETTERS[1:3], 10, replace = TRUE), + data2 = 0.1 ) +# A tibble: 10 × 3 + data group data2 + + 1 86 A 0.1 + 2 41 B 0.1 + 3 72 B 0.1 + 4 68 C 0.1 + 5 10 A 0.1 + 6 99 B 0.1 + 7 66 B 0.1 + 8 33 B 0.1 + 9 81 A 0.1 +10 42 C 0.1 ``` - `add_row()` - `add_column()` +```{r} +## 新tibble, with defined columns ... 创建表头 +tb <- tibble( x = character(), y = integer(), z = double() ); +dim(tb); + +## 增加行 ... +tb <- add_row( tb, x = "a", y = 2, z = 3.6 ); +tb <- add_row( tb, x = "b", y = 1, z = 8.5 ); + +## 显示 +tb; + +## 生成一个 tibble +df <- tibble(x = 1:3, y = 3:1); + +# 在第二行之前插入 +df <- add_row(df, x = 4, y = 0, .before = 2); + +## 插入多行 +df <- add_row(df, x = 4:5, y = 0:-1); + +## 插入另一个tibble (与另一个tibble合并) +df2 <- tibble( x = as.double(200:202), y = as.double(1000:1002) ); +df3 <- add_row( df, df2 ); ## 可以运行 ... + +tb3 <- tribble( + ~x, ~y, ~z, + "a", 2, 3.6, + "b", 1, 8.5 +); + +tb3 <- add_column( tb3, a = 98 ); ## recycle ... +tb3 <- add_column( tb3, b = LETTERS[1:2], c = c("CHEN", "WANG") ); +``` + +### tibble元素替换 + +```{r eval=FALSE} +## 取得行 +tb3[c(1,2), ]; + +## 取得列,按顺序取列 +tb3[, c("z", "y")]; + +## 替换列 +tb3[["z"]] <- c(4.6, 5.5); + +## 替换行 +tb3[ 1, ] <- tibble( x = "d", y = 20, z = 46, a = 10, b = "C", c = "LILI" ); +``` + ### Manipulate the tibble > See “Manipulate the `data.frame`” @@ -537,7 +633,7 @@ as.data.frame(head(as_tibble(iris))) ## Differences between tibble and data.frame -### Tibble evaluates columns sequentially +### Tibble 按顺序计算列 ```R rm(x,y) # Delete possible x, y @@ -547,6 +643,8 @@ data.frame(x = 1:5, y = x ˆ 2); # But data.frame doesn't work. ### `data.frame` causes trouble when fetching `subset` operations +取子集成vector + ```R df1 = data.frame(x = 1:3, y = 3:1) @@ -562,21 +660,25 @@ class(df1[, 1]) # The result is a vector ... ## Tibble doesn't. df2 = tibble(x = 1:3, y = 3:1) -class(df2[, 1]) ## Tibble forever +class(df2[, 1]) ## 永远都是 tibble #> [1] "tbl_df" "tbl" "data.frame" ``` ### `tibble` allows controlled data type conversion -> There’s no proper example here. -> -> :_( +```{r} +class(df2[[1]]); ## 取一列,转换为 vector +class(df2$x); ## 用 [[]] 或 $ 都可以哦 + +[1] "numeric" +[1] "numeric" +``` ### Recycling ```R -data.frame(a = 1:6, b = LETTERS[1:2]) # data.frame CAN!!! +data.frame(a = 1:6, b = LETTERS[1:2]); ## data.frame 可以!!! ``` **OUTPUT** @@ -592,7 +694,7 @@ data.frame(a = 1:6, b = LETTERS[1:2]) # data.frame CAN!!! ``` ```R -tibble(a = 1:6, b = LETTERS[1:2]); ## But tibble CAN'T!!! +tibble(a = 1:6, b = LETTERS[1:2]); ## 但 tibble 不行!!! ``` **OUTPUT** @@ -606,7 +708,7 @@ tibble(a = 1:6, b = LETTERS[1:2]); ## But tibble CAN'T!!! **ATTENTION!** -**The recycling of `tibble` is limited to lengths of 1 or equal; `data.frame` is just divisible.** +`tibble`的 recycling 仅限于长度为1或等长;而 `data.frame` 则为整除即可。 ### `data.frame` will do partial matching, while `tibble` will **NEVER** do it. @@ -621,8 +723,8 @@ df2$a; # Produce a warning and return NULL **OUTPUT** ```shell -# Warning: Unknown or uninitialised column: `a`. -# NULL +#[1] 1 +#Warning: Unknown or uninitialised column: `a`. NULL ``` ## Advanced tips for using `data.frame` and `tibble` @@ -634,11 +736,11 @@ df2$a; # Produce a warning and return NULL > Following is the introduction (Produced by ChatGPT) -These functions—`attach()`, `detach()`, `with()`, and `within()`—are incredibly useful when working with data frames or tibbles in R, aiding in smoother workflows and code readability. Here's a breakdown of their functionality: +这些函数——``attach()``、``detach()``、``with()``和``within()``——在处理R中的数据帧或tibble时非常有用,有助于更流畅的工作流和代码可读性。下面是它们的功能分解: ### `attach()` and `detach()` -- **Purpose**: These functions allow you to temporarily attach a data frame to the search path, making its columns directly accessible by their names. +- **Purpose**: 这些函数允许您将data.frame临时附加到搜索路径上,使其列可以通过名称直接访问。 - **Usage**: - `attach(df)` attaches the specified data frame `df`. - `detach(df)` detaches the specified data frame `df`. @@ -654,12 +756,13 @@ These functions—`attach()`, `detach()`, `with()`, and `within()`—are incredi detach(mtcars) # Detaching mtcars ``` -- **Note**: While convenient, using `attach()` can sometimes lead to confusion or unintended consequences, such as masking variables in your environment. It's often recommended to avoid using `attach()` due to potential side effects. +- **Note**: 虽然使用``attach()``很方便,但有时会导致混乱或意外的后果,例如屏蔽环境中的变量。由于潜在的副作用,通常建议避免使用``attach()``。 ### `with()` -- **Purpose**: `with()` allows you to execute expressions in an environment where the data frame's columns can be referenced without using `$`. +- **Purpose**: `with()` 允许您在不使用`$`的情况下引用数据框架的列的环境中执行表达式。 - **Usage**: + - `with(data, expr)` evaluates `expr` in the context of the specified data frame `data`. - **Example**: ```R @@ -670,12 +773,13 @@ These functions—`attach()`, `detach()`, `with()`, and `within()`—are incredi summary(cyl) }) ``` -- **Advantage**: It helps avoid repetitive use of the data frame name while working with its columns. +- **Advantage**:它有助于避免在处理其列时重复使用数据框架名称。 ### `within()` -- **Purpose**: Similar to `with()`, `within()` allows modification of a data frame by evaluating expressions within it. +- **Purpose**: Similar to `with()`, `within()` allows modification of a data frame by计算其中的表达式。 - **Usage**: + - `within(data, expr)` modifies `data` according to `expr` and returns the modified data frame. - **Example**: ```R @@ -687,7 +791,7 @@ These functions—`attach()`, `detach()`, `with()`, and `within()`—are incredi }) head(modified_mtcars) # Checking the modified data frame ``` -- **Advantage**: `within()` is useful when you want to create or modify columns within the data frame without having to repeatedly refer to the data frame name. +- **Advantage**: `within()` 非常有用,当你想创建或修改数据框架内的列时不必重复引用数据框架名称。 Remember, while these functions can streamline your code, it's crucial to use them judiciously to avoid unexpected behavior or cluttering your global environment. From 09f76c875e722acb54149b6059beaa5fd675e337 Mon Sep 17 00:00:00 2001 From: Lucas <117806313+Lucas04-nhr@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:16:09 +0800 Subject: [PATCH 05/10] Develop (#15) * Develop (#9) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files * Delete .DS_Store * Update REVIEW_01_CN.md * Delete .DS_Store * Update README.md with course review and acknowledgements * Update cnindex.html * Reorganize files --------- Co-authored-by: 1508324011 <108476368+1508324011@users.noreply.github.com> --- README.md | 23 +++++++++++++++++------ README_CN.md | 30 ++++++++++++++++++++++++++++++ docs/cnindex.html | 2 +- 3 files changed, 48 insertions(+), 7 deletions(-) create mode 100644 README_CN.md diff --git a/README.md b/README.md index 1c50505..30aec74 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# R-for-Data-Science +# Review of the course “R for Data Science”
GitHub stars @@ -8,12 +8,23 @@ GitHub Pages Status
-I will add contributors (i.e. the one who helps me to find bugs or give me ideas to complete the task) in the commit to express my acknowledgement. +**By Haoran Nie @ HUST Life ST** -Feel free to give me any thought you have to contribute to the documentation. +> Reference: [R for Data Science](https://r4ds.had.co.nz) +> +> The book updated to 2^nd^ ed. on July,2023, here’ s a [link](https://r4ds.hadley.nz) to the official website. -You can submit an issue directly or contact me via QQ or email(lucas04@126.com). +
+ **You can find Chinese-translated README file [here](./README_CN.md).** +
+ +**Note: **The purpose of this material **not only **to deal with the "R for Data Science" course final exam, or in the subsequent learning process need to use the R language to deal with data and draw images of one of the effective reference materials, so generate a lot of versions of many formats of the file, to facilitate the user to different conditions on different devices to view more easily. Therefore, many versions and formats of files have been generated to make it easier for users to view them under *different conditions* and on *different devices*. If you think this project is helpful to your R language learning and usage, welcome to click on **"Star"** and **follow** me, also welcome anyone to submit bug reports through "issue" and participate in cooperation through **"Pull Request"**. + +We would like to express our sincere gratitude to the users who participated in the co-construction or provided constructive suggestions (in the order of the time they made the suggestions or participated in the co-construction): + +- [Rui Zhu](https://github.com/1508324011) +- [Tianhao Wang](https://github.com/lwstkhyl) ---- +You can also contact me via QQ or email(lucas04@126.com). -

This work is licensed under CC BY-NC-SA 4.0

+

This work is licensed under CC BY-NC-SA 4.0

\ No newline at end of file diff --git a/README_CN.md b/README_CN.md new file mode 100644 index 0000000..2a70980 --- /dev/null +++ b/README_CN.md @@ -0,0 +1,30 @@ +# Review of the course “R for Data Science” + +
+ GitHub stars + GitHub forks + GitHub open pull requests + GitHub open pull requests + GitHub Pages Status +
+ +
+ **你可以在[这里](./README.md)找到README文件的原始英文版本。** +
+ +**By Haoran Nie @ HUST Life ST** + +> 参考资料: [R for Data Science](https://r4ds.had.co.nz) +> +> 此书在2023年7月更新到了第2版,这是指向官方网站的[链接](https://r4ds.hadley.nz)。 + +**注:**本资料的目的**不仅仅是**应对"R for Data Science"课程的期末考试,还是在后续学习过程中需要使用R语言处理数据和绘制图像的有效参考资料之一,因此,生成了许多版本和格式的文件,以方便用户在*不同的条件*和*不同的设备*上查看。如果您认为本项目对您的R语言学习和使用有所帮助,欢迎点击**"Star"** 并**关注**我,也欢迎任何人通过 "issue"提交错误报告,通过**"Pull Request"**参与合作。 + +在此,我们向参与共建或提供建设性建议的用户表示衷心的感谢(按提出建议或参与共建的时间顺序排列): + +- [Rui Zhu](https://github.com/1508324011) +- [Tianhao Wang](https://github.com/lwstkhyl) + +你同样可以通过QQ或者邮箱(lucas04@126.com)联系我。 + +

This work is licensed under CC BY-NC-SA 4.0

\ No newline at end of file diff --git a/docs/cnindex.html b/docs/cnindex.html index 424f5eb..6b10184 100644 --- a/docs/cnindex.html +++ b/docs/cnindex.html @@ -957,7 +957,7 @@ GitHub open pull requests GitHub open pull requests GitHub Pages Status -

By Haoran Nie @ HUST Life ST

Reference: R for Data Science

The book updated to 2nd ed. on July,2023, here’ s a link to the official website.

This work is licensed under CC BY-NC-SA 4.0

这是经过部分翻译的中文文档的目录,您可以在这里找到英语原版文件的目录。

为了缩小每份文件的篇幅,我把整个评论分成了三份文件,本页是所有文件的目录。

注:本资料的目的不仅仅是为了应对“R for Data Science”课程的期末考试,还是在之后的学习过程中需要用到R语言处理数据及绘制图像的有效参考资料之一,故生成了很多版本很多格式的文件,方便使用者在不同条件不同设备上更加方便地查看。如果觉得本项目对你的R语言学习及使用有所帮助,欢迎点击“Star”并且关注我,也欢迎任何人通过“issue”提交错误报告及通过“Pull Request”参与合作共建。

在此向参与共建或者提供建设性意见的用户表示诚挚的谢意(按照提出建议或参与共建的先后时间排序):

本页提供网页版和源代码文件的直接链接。 不过,我也使用 TyporaLATEX 制作 PDF 文件(通过 LuaLATEXTinyTeX 中编译),你可以在下列链接中找到:

Part 01 (Talk 01 ~ 04)

Part 02 (Talk 05 ~ 08)

Part 03 (Talk 09 ~ 12)

 

+

By Haoran Nie @ HUST Life ST

Reference: R for Data Science

The book updated to 2nd ed. on July,2023, here’ s a link to the official website.

This work is licensed under CC BY-NC-SA 4.0

这是经过部分翻译的中文文档的目录,您可以在这里找到英语原版文件的目录。

为了缩小每份文件的篇幅,我把整个资料分成了三份文件,本页是所有文件的目录。

注:本资料的目的不仅仅是为了应对“R for Data Science”课程的期末考试,还是在之后的学习过程中需要用到R语言处理数据及绘制图像的有效参考资料之一,故生成了很多版本很多格式的文件,方便使用者在不同条件不同设备上更加方便地查看。如果觉得本项目对你的R语言学习及使用有所帮助,欢迎点击“Star”并且关注我,也欢迎任何人通过“issue”提交错误报告及通过“Pull Request”参与合作共建。

在此向参与共建或者提供建设性意见的用户表示诚挚的谢意(按照提出建议或参与共建的先后时间排序):

本页提供网页版和源代码文件的直接链接。 不过,我也使用 TyporaLATEX 制作 PDF 文件(通过 LuaLATEXTinyTeX 中编译),你可以在下列链接中找到:

Part 01 (Talk 01 ~ 04)

Part 02 (Talk 05 ~ 08)

Part 03 (Talk 09 ~ 12)

 

\ No newline at end of file From babbf342a53da23bd9083580d641da849ed141c2 Mon Sep 17 00:00:00 2001 From: Lucas <117806313+Lucas04-nhr@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:19:02 +0800 Subject: [PATCH 06/10] Update README.md --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 30aec74..5127caa 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,12 @@ > Reference: [R for Data Science](https://r4ds.had.co.nz) > -> The book updated to 2^nd^ ed. on July,2023, here’ s a [link](https://r4ds.hadley.nz) to the official website. +> The book updated to 2nd ed. on July,2023, here’ s a [link](https://r4ds.hadley.nz) to the official website. + +**You can find Chinese-translated README file [here](./README_CN.md).** -
- **You can find Chinese-translated README file [here](./README_CN.md).** -
-**Note: **The purpose of this material **not only **to deal with the "R for Data Science" course final exam, or in the subsequent learning process need to use the R language to deal with data and draw images of one of the effective reference materials, so generate a lot of versions of many formats of the file, to facilitate the user to different conditions on different devices to view more easily. Therefore, many versions and formats of files have been generated to make it easier for users to view them under *different conditions* and on *different devices*. If you think this project is helpful to your R language learning and usage, welcome to click on **"Star"** and **follow** me, also welcome anyone to submit bug reports through "issue" and participate in cooperation through **"Pull Request"**. +**Note:** The purpose of this material **not only** to deal with the "R for Data Science" course final exam, or in the subsequent learning process need to use the R language to deal with data and draw images of one of the effective reference materials, so generate a lot of versions of many formats of the file, to facilitate the user to different conditions on different devices to view more easily. Therefore, many versions and formats of files have been generated to make it easier for users to view them under *different conditions* and on *different devices*. If you think this project is helpful to your R language learning and usage, welcome to click on **"Star"** and **follow** me, also welcome anyone to submit bug reports through "issue" and participate in cooperation through **"Pull Request"**. We would like to express our sincere gratitude to the users who participated in the co-construction or provided constructive suggestions (in the order of the time they made the suggestions or participated in the co-construction): @@ -27,4 +26,4 @@ We would like to express our sincere gratitude to the users who participated in You can also contact me via QQ or email(lucas04@126.com). -

This work is licensed under CC BY-NC-SA 4.0

\ No newline at end of file +

This work is licensed under CC BY-NC-SA 4.0

From 45932adaf9d64e00df1fa4a5f4bc2a4b0f3445b9 Mon Sep 17 00:00:00 2001 From: Lucas <117806313+Lucas04-nhr@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:19:45 +0800 Subject: [PATCH 07/10] Update README_CN.md --- README_CN.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README_CN.md b/README_CN.md index 2a70980..df1c068 100644 --- a/README_CN.md +++ b/README_CN.md @@ -8,9 +8,9 @@ GitHub Pages Status -
+ **你可以在[这里](./README.md)找到README文件的原始英文版本。** -
+ **By Haoran Nie @ HUST Life ST** @@ -27,4 +27,4 @@ 你同样可以通过QQ或者邮箱(lucas04@126.com)联系我。 -

This work is licensed under CC BY-NC-SA 4.0

\ No newline at end of file +

This work is licensed under CC BY-NC-SA 4.0

From 972511424319fe7f3b47d15ae1ba09c65f64461a Mon Sep 17 00:00:00 2001 From: Lucas <117806313+Lucas04-nhr@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:24:10 +0800 Subject: [PATCH 08/10] Update README_CN.md --- README_CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_CN.md b/README_CN.md index 3021833..e581116 100644 --- a/README_CN.md +++ b/README_CN.md @@ -16,7 +16,7 @@ > > 此书在2023年7月更新到了第2版,这是指向官方网站的[链接](https://r4ds.hadley.nz)。 -**注:**本资料的目的**不仅仅是**应对"R for Data Science"课程的期末考试,还是在后续学习过程中需要使用R语言处理数据和绘制图像的有效参考资料之一,因此,生成了许多版本和格式的文件,以方便用户在*不同的条件*和*不同的设备*上查看。如果您认为本项目对您的R语言学习和使用有所帮助,欢迎点击**"Star"** 并**关注**我,也欢迎任何人通过 "issue"提交错误报告,通过**"Pull Request"**参与合作。 +**注:**本资料的目的**不仅仅是**应对"R for Data Science"课程的期末考试,还是在后续学习过程中需要使用R语言处理数据和绘制图像的有效参考资料之一,因此,生成了许多版本和格式的文件,以方便用户在*不同的条件*和*不同的设备*上查看。如果您认为本项目对您的R语言学习和使用有所帮助,欢迎点击 **"Star"** 并**关注**我,也欢迎任何人通过 "issue"提交错误报告,通过 **"Pull Request"** 参与合作。 在此,我们向参与共建或提供建设性建议的用户表示衷心的感谢(按提出建议或参与共建的时间顺序排列): From a1fd471691aa84dfb6d7b4514892f9b89ff01f7b Mon Sep 17 00:00:00 2001 From: Lucas <117806313+Lucas04-nhr@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:31:54 +0800 Subject: [PATCH 09/10] Develop (#19) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * dev (#16) * Develop (#9) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files * Develop (#10) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files * Revert "Merge branch 'main' into develop" This reverts commit 7f8889a8b9ddcb34ba6434db7de63bad3d787f85, reversing changes made to 0a7b042d379ffde0cbdedd6012958ecb98842c3f. * Reorganize files * Reorganize files * Delete .DS_Store * Update REVIEW_01_CN.md * Develop (#15) * Develop (#9) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files * Delete .DS_Store * Update REVIEW_01_CN.md * Delete .DS_Store * Update README.md with course review and acknowledgements * Update cnindex.html * Reorganize files --------- Co-authored-by: 1508324011 <108476368+1508324011@users.noreply.github.com> * Update README.md * Update README_CN.md --------- Co-authored-by: 1508324011 <108476368+1508324011@users.noreply.github.com> * Update README_CN.md * Delete markdown/Review of the course “R for Data Science”.md * Delete markdown/Review of the course “R for Data Science”_CN.md --------- Co-authored-by: 1508324011 <108476368+1508324011@users.noreply.github.com> From 493eebcee0544e3541739d5ce7ae9ac03df4f4fb Mon Sep 17 00:00:00 2001 From: Lucas <117806313+Lucas04-nhr@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:38:47 +0800 Subject: [PATCH 10/10] Develop (#20) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * dev (#16) * Develop (#9) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files * Develop (#10) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files * Revert "Merge branch 'main' into develop" This reverts commit 7f8889a8b9ddcb34ba6434db7de63bad3d787f85, reversing changes made to 0a7b042d379ffde0cbdedd6012958ecb98842c3f. * Reorganize files * Reorganize files * Delete .DS_Store * Update REVIEW_01_CN.md * Develop (#15) * Develop (#9) * Update course review markdown file * Update course review markdown file * Update .gitignore file to exclude specific markdown and PDF files * Update .gitignore file to include specific directories and files * Reorganize files * Update .gitignore * Update .gitignore * Update .gitignore * Add new PDF and image files * Update .gitignore * Delete mouse_genes_biomart_sep2018.txt * Revert "Reorganize files" This reverts commit 019f4e7a61547b21f30955fdf64ef7715275ffaf. * Reorganize files * Reorganize files * Revert "Reorganize files" This reverts commit 892a8e8b2e3c289d432a3e190d400500136ee893. * Reorganize files * Delete .DS_Store * Update REVIEW_01_CN.md * Delete .DS_Store * Update README.md with course review and acknowledgements * Update cnindex.html * Reorganize files --------- Co-authored-by: 1508324011 <108476368+1508324011@users.noreply.github.com> * Update README.md * Update README_CN.md --------- Co-authored-by: 1508324011 <108476368+1508324011@users.noreply.github.com> * Update README_CN.md * Delete markdown/Review of the course “R for Data Science”.md * Delete markdown/Review of the course “R for Data Science”_CN.md --------- Co-authored-by: 1508324011 <108476368+1508324011@users.noreply.github.com>