2024-01-09

R Markdown

This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.

Summary

In this presentation there will be examples of:

  • Adding slides in a presentation
  • Show different options for text
  • Write code
  • Show code and different options for Knitr
  • Play with options

Slide for print a table

Print wine quality vs alcohol winequality-red.csv file

  density   pH sulphates alcohol quality
1  0.9978 3.51      0.56     9.4       5
2  0.9968 3.20      0.68     9.8       5
3  0.9970 3.26      0.65     9.8       5
4  0.9980 3.16      0.58     9.8       6
5  0.9978 3.51      0.56     9.4       5
6  0.9978 3.51      0.56     9.4       5

Slide with Plot

Print a plot alcohol vs sulphates