% Converting Markdown to Other Formats with knitr::pandoc() % Yihui Xie % March 1st, 2013

A bit introduction here.

Start with a cool section

You can use traditional Markdown syntax, such as links and code.

Followed by another section

Of course you can write lists:

Or ordered lists:

  1. items
  2. will
  3. be
  4. ordered
    • nested
    • items

More sections

Hi

hi hi

Hello

hello hello

Howdy

howdy howdy

Okay, some R code

fit = lm(dist ~ speed, data = cars)
b = coef(fit)  # coefficients
summary(fit)

The code will be highlighted in all output formats.

And some pictures

par(mfrow = c(2, 2), pch = 20, mar = c(4, 4, 2, .1), bg = 'white')
plot(fit)

A little bit math

Our regression equation is $Y=r b[1]+r b[2]x$, and the model is:

$$ Y = \beta_0 + \beta_1 x + \epsilon$$



Try the parsermd package in your browser

Any scripts or data that you put into this service are public.

parsermd documentation built on May 20, 2021, 5:08 p.m.