Learn R Programming

TeachBayes (version 0.1.0)

many_spinner_plots: Graphs a collection of spinners

Description

Graphs a collection of spinners

Usage

many_spinner_plots(list_regions)

Arguments

list_regions
list of vectors of integer areas for the spins 1, 2, ...

Value

A ggplot2 object containing the spinner displays

Examples

Run this code
  regions1 <- c(1, 1, 1)
  regions2 <- c(2, 1, 2, 1)
  many_spinner_plots(list(regions1, regions2))

Run the code above in your browser using DataLab