3  Authoring

3.1 Markdown text

3.2 Code cells

1 + 1
[1] 2
1 + 1
2
df <- data.frame(x = 1:8, y = 3:10)
m <- lm(y ~ x, data = df)
plot(df$x, df$y)
abline(m)

import matplotlib.pyplot as plt
import numpy as np

xpoints = np.array([1, 8])
ypoints = np.array([3, 10])

plt.plot(xpoints, ypoints)
plt.show()

3.3 Tables

3.4 Figures

3.5 etc.

a change

3.6 Includes