R for Reproducible Scientific Analysis

ブログラマーでない人のためのgapminderデータ用いたR入門。

The goal of this lesson is to teach novice programmers to write modular code and best practices for using R for data analysis. R is commonly used in many scientific disciplines for statistical analysis and its array of third-party packages. We find that many scientists who come to Software Carpentry workshops use R and want to learn more. The emphasis of these materials is to give attendees a strong foundation in the fundamentals of R, and to teach best practices for scientific computing: breaking down analyses into modular units, task automation, and encapsulation.

このワークショップでは、プログラミング言語Rの基礎を教えることに焦点を当て、 統計分析を教えることはないことに注意してください。

レッスンには、1日に教えることができる以上の素材が含まれています。 講師ノートのページには、 1日または1日半のワークショップに適したレッスンプランがいくつかあります。

このワークショップでは、さまざまなサードパーティパッケージが使用されています。 これらは必ずしも最高のものではなく、包括的でもありませんが、有用であり、 使いやすさのために主に選ばれたパッケージです。

Prerequisites

コンピュータがデータと命令(プログラムやスクリプト)をファイルに保存することを理解する。 ファイルはディレクトリ(フォルダ)に編成されています。 パスを指定することによって、作業ディレクトリにないファイルにアクセスする方法を理解してください。

Schedule

Setup Download files required for the lesson
00:00 1. Introduction to R and RStudio How to find your way around RStudio?
How to interact with R?
How to manage your environment?
How to install packages?
00:55 2. Project Management With RStudio How can I manage my projects in R?
01:25 3. Seeking Help How can I get help in R?
01:45 4. Data Structures How can I read data in R?
What are the basic data types in R?
How do I represent categorical information in R?
02:40 5. Exploring Data Frames How can I manipulate a data frame?
03:10 6. Subsetting Data How can I work with subsets of data in R?
04:00 7. Control Flow How can I make data-dependent choices in R?
How can I repeat operations in R?
05:05 8.
05:05 9. 09 Vectorization
05:05 10. 関数について
05:05 11. Writing Data How can I save plots and data created in R?
05:25 12. Splitting and Combining Data Frames with plyr How can I do different calculations on different sets of data?
06:25 13. Dataframe Manipulation with dplyr How can I manipulate dataframes without repeating myself?
07:20 14. Dataframe Manipulation with tidyr How can I change the format of dataframes?
08:05 15. Producing Reports With knitr How can I integrate software and reports?
09:20 16. Writing Good Software How can I write software that other people can use?
09:35 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.