getprettygif: Generate a gif composite of violin and line plot animations

Description Usage Arguments Value

View source: R/montyhall.R

Description

Generates a gif of composite plot animations for violin and line plots. Currently supports results from the 'ndoors' experiment.

Usage

1
2
3
4
5
getprettygif(
  ld,
  gifname = "mh_ndoors.gif",
  plottype = c("composite_ndoors", "lineplots_doorswitch")
)

Arguments

ld

List of win fractions.

gifname

Name of gif file to store.

plottype

Type of plots for gif animation (either "composite_ndoors" or "lineplots_doorswitch").

Value

Saves a gif file of the composite plots.


metamaden/montyhall documentation built on April 4, 2020, 9:39 p.m.