Skip to content
Snippets Groups Projects
Commit 723b969a authored by Sebastian Kopf's avatar Sebastian Kopf
Browse files

first template files

parent 9fee0b52
No related branches found
No related tags found
No related merge requests found
---
title: "Template"
subtitle: "SUBTITLE"
author: "AUTHORS"
date: "`r format(Sys.Date(), '%d %b %Y')`"
output:
html_document:
df_print: paged
number_sections: yes
toc: yes
toc_float: true
toc_depth: 3
code_folding: show
editor_options:
chunk_output_type: inline
---
# System Info
```{r}
# session info
sessionInfo()
```
# Data
```{r}
# data
iris
```
# Plot
```{r, fig.width=6, fig.height=4}
library(ggplot2)
ggplot(iris) +
aes(Sepal.Length, Sepal.Width, color = Species) +
geom_point() +
theme_bw()
```
---
title: "Template"
subtitle: "SUBTITLE"
author: "AUTHORS"
output:
html_document:
df_print: paged
number_sections: yes
toc: yes
toc_float: true
toc_depth: 3
code_folding: show
editor_options:
chunk_output_type: inline
---
> WARNING: this is not yet supported because the RStudio version required for interactive use of python in RMarkdown is not the version installed by binder.
```{python}
# setup
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import os
```
# $\LaTeX$ Math
This is just markdown that can include latex math.
$$
\begin{align}
\dot{x} & = \sigma(y-x) \\
\dot{y} & = \rho x - y - xz \\
\dot{z} & = -\beta z + xy
\end{align}
$$
# System Info
```{python}
import IPython
print(IPython.sys_info())
```
# Data
```{python}
parabola = pd.DataFrame(np.arange(-20, 21), columns=list('x'))
parabola['err'] = np.random.normal(size=len(parabola), scale=5)
parabola['y'] = (parabola['x'] + parabola['err'])**2
print(parabola)
```
# Plot
```{python}
parabola.plot.scatter(x = 'x', y = 'y')
plt.show()
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment