knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

do.call(knitr::read_chunk, list(path = "scripts/tutorial-ggplot.R"))

Introduction

This tutorial shows how to plot samc analyses using ggplot2. It is based on the code in the basic tutorial.

Setup

<<setup>>

Visualization With ggplot2

<<data>>
knitr::include_graphics("img/ggplot1.png")
knitr::include_graphics("img/ggplot2.png")
<<results>>
knitr::include_graphics("img/ggplot3.png")
knitr::include_graphics("img/ggplot4.png")
knitr::include_graphics("img/ggplot5.png")


andrewmarx/samc documentation built on Nov. 1, 2024, 10:10 p.m.