RMarkdown cheat sheet

A basic YAML header to start with. Choose the desired output format. --- title: "RMarkdown Example" author: "Mohammad Ali Nilforooshan" date: "6 August 2017" output: html_document # output: pdf_document # output: word_document --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) ``` horizontal rule *** or --- Formatting Manual line break: End the line with two or more spaces. italic *italic* and italic _italic_ bold **bold** and bold __bold__ superscript2 superscript^2^ subscript2 subscript~2~ ...

October 25, 2024 · Mohammad Ali Nilforooshan