Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
rebuild book after merges
Browse files Browse the repository at this point in the history
  • Loading branch information
jrnold committed Jan 22, 2018
2 parents 42995cc + 42d1c41 commit 2dc326a
Show file tree
Hide file tree
Showing 14 changed files with 5,160 additions and 687 deletions.
5,813 changes: 5,144 additions & 669 deletions docs/_main.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/causality.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta name="author" content="Jeffrey B. Arnold">


<meta name="date" content="2018-01-19">
<meta name="date" content="2018-01-21">

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down
2 changes: 1 addition & 1 deletion docs/discovery.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta name="author" content="Jeffrey B. Arnold">


<meta name="date" content="2018-01-19">
<meta name="date" content="2018-01-21">

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta name="author" content="Jeffrey B. Arnold">


<meta name="date" content="2018-01-19">
<meta name="date" content="2018-01-21">

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down Expand Up @@ -270,7 +270,7 @@ <h1>
<div id="header">
<h1 class="title">QSS Tidyverse Code</h1>
<h4 class="author"><em>Jeffrey B. Arnold</em></h4>
<h4 class="date"><em>2018-01-19</em></h4>
<h4 class="date"><em>2018-01-21</em></h4>
</div>
<div id="preface" class="section level1 unnumbered">
<h1>Preface</h1>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
title: "QSS Tidyverse Code"
author: "Jeffrey B. Arnold"
date: "2018-01-19"
date: "2018-01-21"
github-repo: jrnold/qss-tidy
site: "bookdown::bookdown_site"
documentclass: book
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta name="author" content="Jeffrey B. Arnold">


<meta name="date" content="2018-01-19">
<meta name="date" content="2018-01-21">

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down
7 changes: 3 additions & 4 deletions docs/measurement.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta name="author" content="Jeffrey B. Arnold">


<meta name="date" content="2018-01-19">
<meta name="date" content="2018-01-21">

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down Expand Up @@ -758,10 +758,9 @@ <h3><span class="header-section-number">3.5.2</span> Quantile-Quantile Plot</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">congress <span class="op">%&gt;%</span>
<span class="st"> </span><span class="kw">filter</span>(congress <span class="op">==</span><span class="st"> </span><span class="dv">112</span>, party <span class="op">%in%</span><span class="st"> </span><span class="kw">c</span>(<span class="st">&quot;Republican&quot;</span>, <span class="st">&quot;Democrat&quot;</span>)) <span class="op">%&gt;%</span>
<span class="st"> </span><span class="kw">ggplot</span>(<span class="kw">aes</span>(<span class="dt">x =</span> dwnom2, <span class="dt">y =</span> ..density..)) <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_histogram</span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_histogram</span>(<span class="dt">binwidth =</span> .<span class="dv">2</span>) <span class="op">+</span>
<span class="st"> </span><span class="kw">facet_grid</span>(party <span class="op">~</span><span class="st"> </span>.) <span class="op">+</span>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">x =</span> <span class="st">&quot;racial liberalism/conservatism dimension&quot;</span>)
<span class="co">#&gt; `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.</span></code></pre></div>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">x =</span> <span class="st">&quot;racial liberalism/conservatism dimension&quot;</span>)</code></pre></div>
<p><img src="measurement_files/figure-html/unnamed-chunk-49-1.png" width="70%" style="display: block; margin: auto;" /></p>
<p>The package <em>ggplot2</em> includes a function <code>stat_qq</code> which can be used to create qq-plots but it is more suited to comparing a sample distribution with a theoretical distribution, usually the normal one. However, we can calculate one by hand, which may give more insight into exactly what the qq-plot is doing.</p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">party_qtiles &lt;-<span class="st"> </span><span class="kw">tibble</span>(
Expand Down
3 changes: 1 addition & 2 deletions docs/measurement.md
Original file line number Diff line number Diff line change
Expand Up @@ -757,10 +757,9 @@ ggplot(party_polarization, aes(x = congress, y = polarization)) +
congress %>%
filter(congress == 112, party %in% c("Republican", "Democrat")) %>%
ggplot(aes(x = dwnom2, y = ..density..)) +
geom_histogram() +
geom_histogram(binwidth = .2) +
facet_grid(party ~ .) +
labs(x = "racial liberalism/conservatism dimension")
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
```

<img src="measurement_files/figure-html/unnamed-chunk-49-1.png" width="70%" style="display: block; margin: auto;" />
Expand Down
Binary file modified docs/measurement_files/figure-html/unnamed-chunk-49-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/prediction.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta name="author" content="Jeffrey B. Arnold">


<meta name="date" content="2018-01-19">
<meta name="date" content="2018-01-21">

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down
2 changes: 1 addition & 1 deletion docs/probability.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta name="author" content="Jeffrey B. Arnold">


<meta name="date" content="2018-01-19">
<meta name="date" content="2018-01-21">

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down
4 changes: 2 additions & 2 deletions docs/search_index.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/uncertainty.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta name="author" content="Jeffrey B. Arnold">


<meta name="date" content="2018-01-19">
<meta name="date" content="2018-01-21">

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down
2 changes: 1 addition & 1 deletion measurement.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ ggplot(party_polarization, aes(x = congress, y = polarization)) +
congress %>%
filter(congress == 112, party %in% c("Republican", "Democrat")) %>%
ggplot(aes(x = dwnom2, y = ..density..)) +
geom_histogram() +
geom_histogram(binwidth = .2) +
facet_grid(party ~ .) +
labs(x = "racial liberalism/conservatism dimension")
```
Expand Down

0 comments on commit 2dc326a

Please sign in to comment.