From ff7fa15f35abaef7d7752d31c284e659cb8974ab Mon Sep 17 00:00:00 2001 From: Saghir Date: Wed, 3 May 2017 13:45:00 +0100 Subject: [PATCH] rmarkdown-formats.Rmd: Typo corrected (#557) --- rmarkdown-formats.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmarkdown-formats.Rmd b/rmarkdown-formats.Rmd index 4c085ea..03cba21 100644 --- a/rmarkdown-formats.Rmd +++ b/rmarkdown-formats.Rmd @@ -28,7 +28,7 @@ knitr::include_graphics("screenshots/rmarkdown-knit.png") ## Output options -Each output format is associated with an R function. You can either write `foo` or `pkg::foo`. If you omit, `pkg` the default is assumed to be rmarkdown. It's important to know the name of the function that makes the output because that's where you get help. For example, to figure out what parameters you can set with `html_document`, look at `?rmarkdown:html_document()` +Each output format is associated with an R function. You can either write `foo` or `pkg::foo`. If you omit, `pkg` the default is assumed to be rmarkdown. It's important to know the name of the function that makes the output because that's where you get help. For example, to figure out what parameters you can set with `html_document`, look at `?rmarkdown::html_document` To override the default parameter values, you need to use an expanded `output` field. For example, if you wanted to render an `html_document` with a floating table of contents, you'd use: