# Load packages 
library(minterbrand)
library(tidyverse)

minter_ggplot_theme_update()
minter_knitr_settings()
#options(scipen = 100) #this prevents numbers from showing up in scientific notation

Introduction

This is a reproducible report using the ideas of [@Knuth1984b] using the R language (see [@r-project]) and R-markdown [@rmarkdown] ...

Objective

Results

Let's plot a graph

plt <- ggplot(pressure, aes(x=temperature)) +
              geom_point(aes(y=pressure)) +
              geom_line(aes(x=temperature,
                            y=pressure),
                        color = 'blue') +
              ggtitle("Pressure as f(temperature)") +
              theme(axis.text=element_text(size=12),
                    axis.title=element_text(size=14),
                    plot.title = element_text(hjust = 0.5)) # center the title

print(plt)

References



jrminter/minterbrand documentation built on May 26, 2019, 5:41 p.m.