Learn R Programming

TeachBayes (version 0.1.0)

bar_plot: Bar plot of numeric data

Description

Constructs frequency bar plot of some numeric data

Usage

bar_plot(y, ...)

Arguments

y
vector of outcomes
...
title of the graph

Value

A frequency bar graph of the outcomes

Examples

Run this code
  s <- spinner_data(c(1, 2, 2, 1), nsim=100)
  bar_plot(s, "Spinner Data")

Run the code above in your browser using DataLab