Skip to content

Commit

Permalink
Moved README images to a folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmusab committed Feb 19, 2016
1 parent b3255e3 commit 31b578e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
^blogposts$
Rplots.pdf
cran-comments.md
^README-files$
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ output:
knitr::opts_chunk$set(
collapse = TRUE,
comment = "##",
fig.path = "README-"
fig.path = "README-files/README-"
)
set.seed(123)
```
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ summary(b1)
plot(b1)
```

![](README-president_summary-1.png)
![](README-files/README-president_summary-1.png)

While it is possible to use a summary statistic that works on a resample of the original data, it is more efficient if it's possible to use a summary statistic that works on a *reweighting* of the original dataset. Instead of using `mean` above it would be better to use `weighted.mean` like this:

Expand Down Expand Up @@ -80,7 +80,7 @@ b_diff <- as.bayesboot(b_presidents - b_opponents)
plot(b_diff)
```

![](README-height_comparison-1.png)
![](README-files/README-height_comparison-1.png)

So there is some evidence that loosing opponents could be shorter. (Though, I must add that it is quite unclear what the purpose really is with analyzing the heights of presidents and opponents...)

Expand Down Expand Up @@ -113,7 +113,7 @@ lines(cars$speed, colMeans(bb_loess, na.rm = TRUE), type ="l",
col = "tomato", lwd = 4)
```

![](README-car_plot-1.png)
![](README-files/README-car_plot-1.png)

More information
----------------
Expand Down

0 comments on commit 31b578e

Please sign in to comment.