An R Markdown Document (Summary Report for Email)

We can include parts from the parent "connect-example-main.Rmd" document by adding an empty R Markdown code chunk with a matching name (in this case diamonds_plot). This is great because we can reuse parts from the parent report document.

## `summarise()` has grouped output by 'carat'. You can override using the
## `.groups` argument.
## `geom_smooth()` using formula = 'y ~ s(x, bs = "cs")'

The dallas_home_sales object (from the namesake R code chunk) is also available and can be further processed to generate different output just for the email document.