Update rmarkdown.Rmd (#322)

Typos
This commit is contained in:
S'busiso Mkhondwane 2016-08-27 05:35:38 +02:00 committed by Hadley Wickham
parent 0b2d3118e5
commit 39f63327ed
1 changed files with 4 additions and 4 deletions

View File

@ -287,7 +287,7 @@ Note that the chunks won't update if `a_very_large_file.csv` changes, because kn
As your caching strategies get progressively more complicated, it's good idea to regularly clear out all your caches with `knitr::clean_cache()`.
I've used the advice of [David Robinson](https://twitter.com/drob/status/738786604731490304) to name these chunks: each chunked is named after the priamry object that it creates. This makes it easier to understand the `dependson` specification.
I've used the advice of [David Robinson](https://twitter.com/drob/status/738786604731490304) to name these chunks: each chunked is named after the primary object that it creates. This makes it easier to understand the `dependson` specification.
### Global options
@ -318,7 +318,7 @@ There is one other way to embed R code into an R Markdown document: directly int
> Only `r inline('nrow(diamonds) - nrow(smaller)')` are larger
> than 2.5 carats. The distribution of the reminder is shown below:
When the report is knit, the results of those computations are inserted into the text:
When the report is knit, the results of these computations are inserted into the text:
> We have data about 53940 diamonds. Only 126 are larger than
> 2.5 carats. The distribution of the reminder is shown below:
@ -404,7 +404,7 @@ Pandoc can automatically generate citations and a bibliography in a number of st
bibliography: rmarkdown.bib
```
You can use many common bibliography foramts including BibLaTeX, BibTeX, endnote, medline.
You can use many common bibliography formats including BibLaTeX, BibTeX, endnote, medline.
To create a citation within your .Rmd file, use a key composed of @ + the citation identifier from the bibliography file. Then place the citation in square brackets. Here are some example :
@ -445,5 +445,5 @@ There are two important topics that we haven't covered here: collaboration, and
1. The "Git and GitHub" chapter of _R Packages_, by Hadley. You can also
read it for free online: <http://r-pkgs.had.co.nz/git.html>.
I have also not touched about what you should actually write in order to clearly communicate the results of your analysis. To improve your writing, I highly recommend reading either [_Style: Lessons in Clarity and Grace_](https://amzn.com/0134080416) by Joseph M. Williams & Joseph Bizup, or [_The Sense of Structure: Writing from the Reader's Perspective_](https://amzn.com/0205296327) by George Gopen. Both books will help you understand the structure of sentences and paragraphs, and give you the tools to make your writing more clear. (These books are rather expensive if purchased new, but they're used by many English classes so there are plenty of cheap second-hand copies.) George Gopen also has a number of short articles on writing at <http://georgegopen.com/articles/litigation/>. They are aimed at lawyers, but almost everything applies to data scientists too.
I have also not touched about what you should actually write in order to clearly communicate the results of your analysis. To improve your writing, I highly recommend reading either [_Style: Lessons in Clarity and Grace_](https://amzn.com/0134080416) by Joseph M. Williams & Joseph Bizup, or [_The Sense of Structure: Writing from the Reader's Perspective_](https://amzn.com/0205296327) by George Gopen. Both books will help you understand the structure of sentences and paragraphs, and give you the tools to make your writing more clear. (These books are rather expensive if purchased new, but they're used by many English classes so there are plenty of cheap second-hand copies). George Gopen also has a number of short articles on writing at <http://georgegopen.com/articles/litigation/>. They are aimed at lawyers, but almost everything applies to data scientists too.