A new gitbook - learnR
原文链接 https://renkun-ken.github.io/blog/2014/05/31/a-new-gitbook-learnr.html
注:以下为加速网络访问所做的原文缓存,经过重新格式化,可能存在格式方面的问题,或偶有遗漏信息,请以原文为准。
Gitbook is rather a relatively new concept on the web. It provides a user-friendly framework for authors to write and produce online books with beautiful illustrations and responsive interactions. It allows authors to write in Markdown syntax, which is very easy to learn and use, so that they can focus more on the contents they try to produce than the layout and styles of the contents.
There are already couple of books online. However, I can't find any authors writing a gitbook related to R. A month ago, I needed to give lectures to introduce R to my team, so I prepared a variety of code that covers a wide range of topics from the absolute basics to advanced programming concepts and practices.
I created learnR project and decided to produce a gitbook based on that code. Therefore I transformed the repo to a new gitbook repo entitled learnR for R users to better understand the basics and underlying mechanisms of R so as to solve problems using R with easier and more elegant code and techniques.
Thanks to Jason Bryer's Rgitbook package! It allows me to write the book in R Markdown and transform the output to markdown.
The gitbook is still in its early stage, but it's already online for preview, and the contents are planned as the following:
- Quick start
- What is R
- Why R
- How to install R
- RStudio
- First model
- Basic objects
- Vector
- Matrix
- Array
- List
- Data frame
- Function
- Formula
- Basic expressions
- Assignment
- Condition
- Loop
- Basic functions
- Environment
- Package
- Object
- Logical
- Character
- Math
- Statistics
- Data
- Graphics
- Basic statistics
- Preparing data
- Descriptive statistics
- Linear regression
- Hypothesis testing
- Model analysis
- Time series modeling
- Basic data mining
- Using models
- Cross validation
- Basic grahpics
- Scatter plot
- Line plot
- Bar chart
- Pie chart
- Histogram
- Composing plots
- Partitioning plots
- Graphics devices
- Inside R
- Lazy evaluation
- Dynamic scoping
- Object searching
- Memory management
- dot-dot-dot
- Functions
- Environment
- Expression
- Call
- Data structures
- S3 object
- S4 object
- Database
- SQL
- Excel workbook
- SQLite
- SQL on data frame
- Parallel computing
- parallel package
- Functional programming
- Anonymous functions
- Closures
- Higher-order functions
- Profiling
- Computing time
- Memory usage
- Advanced graphics
- Interative graphics
- ggplot2
- ggvis
- Popular-packages
- stringr
- reshape2
- rootSolve
- Rsolnp
- plyr
- dplyr
- data.table
- pipeR
- jsonlite
- Rcpp
- Exercises
If you are interested in making contributions, please fork the repo and send me pull requests.