Box plot (2)

boxplot2.png

# This outputs BoundsError. This is a bug of StatPlots.jl.
# Boxplot and violin broken - https://github.com/JuliaPlots/StatPlots.jl/issues/198
using StatsPlots, Statistics, Random
Random.seed!(2018)

n = 30
science = rand(1:10, n)
english = rand(1:10, n)

@show median(science)
@show median(english)

boxplot([science english], label=["science" "english"])

This page was generated using Literate.jl.