Update rmarkdown.Rmd (minor typos) (#630)

This commit is contained in:
Ben Herbertson 2018-06-20 17:02:03 +08:00 committed by Hadley Wickham
parent 998618073b
commit 4c82fe68dc
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ You can control many other "whole document" settings by tweaking the parameters
R Markdown documents can include one or more parameters whose values can be set when you render the report. Parameters are useful when you want to re-render the same report with distinct values for various key inputs. For example, you might be producing sales reports per branch, exam results by student, or demographic summaries by country. To declare one or more parameters, use the `params` field.
This example use a `my_class` parameter to determines which class of cars to display:
This example uses a `my_class` parameter to determine which class of cars to display:
```{r, echo = FALSE, out.width = "100%", comment = ""}
cat(readr::read_file("rmarkdown/fuel-economy.Rmd"))