“Last updated: 10:38:41 IST, 21 July, 2023”

This rmd document is to illustrate R Markdown commands. For further information the readers are referred to:

Plain Text: Text can be formatted in the following ways:


Use *** to introduce a horizontal line (or) a slide break


Six headers:

Header1

# to start a header1 with a space after #

Header2

## to start a header2 with a space after ##

Header3

### to start a header3 with a space after ###

Header4

#### to start a header4 with a space after ####

Header5

##### to start a header5 with a space after #####

Header6

###### to start a header6 with a space after ######


Ordered list

  1. Item 1
  2. Item 2
  • Sub-item1
  • Sub-item2

Unordered list

  • Item 1
  • Item 2
    • Sub-item 1
    • Sub-item 2

To insert an inline equation use $ to begin and end the equation. For example: $A = \pi*r^{2}$ yields
\(A = \pi*r^{2}\)


Make a code chunk with three back ticks followed by an r in braces. End the chunk with three back ticks. For example “```{r} paste(”Hello”, “World!”)```"

paste("Hello", "World!")
## [1] "Hello World!"

Place code inline with a single back ticks.
The first back tick must be followed by an R, like this Hello World!.


Add chunk options within braces. For example,eval=TRUE will enable code output to be displayed. echo=TRUE will enable source code to be displayed:

paste("Hello", "World!")
## [1] "Hello World!"

To include an image use: ![<Insert text about image>](<Insert path to file>)

TAPMI Campus
TAPMI Campus