Sketch out complete book outline

This commit is contained in:
hadley 2015-12-06 18:02:29 +04:00
parent 129649eaed
commit 87e4947f66
11 changed files with 107 additions and 15 deletions

View File

@ -1,15 +1,22 @@
<li><a href="intro.html">Introduction</a></li>
<li class="dropdown-header">Data science essentials</li>
<li><a href="visualize.html">Visualize</a></li>
<li><a href="rmarkdown.html">R Markdown</a></li>
<li><a href="transform.html">Transform</a></li>
<li><a href="strings.html">String manipulation</a></li>
<!--
<li><a href="dates.html">Dates and times</a></li>
-->
<li><a href="tidy.html">Tidy</a></li>
<li><a href="expressing-yourself.html">Expressing yourself</a></li>
<li><a href="import.html">Import</a></li>
<li class="dropdown-header">Programming</li>
<li><a href="data-structures.html">Data structures</a></li>
<li><a href="strings.html">Strings</a></li>
<li><a href="datetimes.html">Dates and times</a></li>
<li><a href="functions.html">Expressing yourself with code</a></li>
<li><a href="lists.html">Lists</a></li>
<!--
<li><a href="models.html">Model</a></li>
<li><a href="communicate.html">Communicate</a></li>
-->
<li><a href="shiny.html">Shiny</a></li>
<li class="dropdown-header">Modelling</li>
<li><a href="model-linear.html">Linear models</a></li>
<li><a href="model-vis.html">Models and visualisation</a></li>
<li><a href="model-assess.html">Model assesment</a></li>
<li><a href="model-other.html">Other models</a></li>

21
data-structures.Rmd Normal file
View File

@ -0,0 +1,21 @@
---
layout: default
title: Data structures
output: bookdown::html_chapter
---
Might be quite brief.
## Data structures
Atomic vectors and lists. What is a data frame?
`typeof()` vs. `class()` mostly in context of how date/times and factors are built on top of simpler structures.
## Factors
(Since won't get a chapter of their own)
## Subsetting
Not sure where else this should be covered.

5
datetimes.Rmd Normal file
View File

@ -0,0 +1,5 @@
---
layout: default
title: Dates and times
output: bookdown::html_chapter
---

View File

@ -1,6 +1,6 @@
---
layout: default
title: Modelling
title: Models assessment
output: bookdown::html_chapter
---

20
model-linear.Rmd Normal file
View File

@ -0,0 +1,20 @@
---
layout: default
title: Model
output: bookdown::html_chapter
---
# Model
After reading this chapter, what can you do that you couldn't before?
Focus on fitting a single model, and understanding it with broom. Focus on linear models. Focus on intutition and computation tools. No mathematics.
Review caret and mlr.
"Feature engineering":
* Factors
* Interactions
* Splines
* Log transform

14
model-other.Rmd Normal file
View File

@ -0,0 +1,14 @@
---
layout: default
title: Other model familes
output: bookdown::html_chapter
---
## Extensions of linear models
* Generalised linear models: logistic, ...
* Hierarchical models
##

7
model-vis.Rmd Normal file
View File

@ -0,0 +1,7 @@
---
layout: default
title: Models and visualisation
output: bookdown::html_chapter
---
Gap minder

5
rmarkdown.Rmd Normal file
View File

@ -0,0 +1,5 @@
---
layout: default
title: R Markdown
output: bookdown::html_chapter
---

5
shiny.Rmd Normal file
View File

@ -0,0 +1,5 @@
---
layout: default
title: Shiny
output: bookdown::html_chapter
---

View File

@ -4,18 +4,24 @@ title: Data transformation
output: bookdown::html_chapter
---
# Data transformation
Copy from dplyr vignettes.
## Missing values
## Filter
### Missing values
* Why `NA == NA` is not `TRUE`
* Why default is `na.rm = FALSE`.
## Data types
## Mutate
Overview of different data types and useful summary functions for working with them. Strings and dates covered in more detail in future chapters.
## Arrange
Need to mention `typeof()` vs. `class()` mostly in context of how date/times and factors are built on top of simpler structures.
## Select
## Grouped summaries
Overview of different data types and useful summary functions for working with them. Strings and dates covered in more detail in future chapters. Anything complicated can be put off until data structures chapter.
### Logical
@ -26,3 +32,5 @@ When used with numeric functions, `TRUE` is converted to 1 and `FALSE` to 0. Thi
### Strings (and factors)
### Date/times
## Grouped mutate