Simple demonstration stencil for R
A very simple little stencil for use in a R context. It has some paragraphs, inline math, equations, as well as execute and text directives

# Introduction

Pearson's correlation coefficient when applied to a population is commonly represented by the Greek letter $\rho$ (rho) and may be referred to as the population correlation coefficient or the population Pearson correlation coefficient. The formula for $\rho$ is:

# Methods

x <- 1:100
y <- x + rnorm(length(x),0,10)
cor_est <- cor(x,y)

This stencil creates two variables, $x$, the series of numbers $\left\{1 , 2. . .100\right\}$ and $y$, which is linearly related to $x$ with normally distributed errors,

# Results

The correlation between $x$ and $y$ was 0.951.