jb_vioplot: Violin plots

Description Usage Arguments Examples

View source: R/jb_vioplot.R

Description

Make violin plots - based off this https://github.com/mbjoseph/comdis/blob/master/vioplot2.R

Usage

1
2
jb_vioplot(Var1_left, Var1_right, Var2_left, Var2_right, title = "Title",
  xlabel = "xlabel", group1title = "Group 1", group2title = "Group 2")

Arguments

Var1_left

Variable one, left side.

Var1_right

Variable one, right side.

Var2_left

Variable two, left side.

Var2_right

Variable two, right side.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data <- iris
jb_vioplot(
 Var1_left,
 Var1_right,
 Var2_left,
 Var2_right,
 title="This is a title",
 xlabel="Something",
 group1title="On the left",
 group2title="On the right")

epijim/EpijimFunctions documentation built on May 13, 2017, 7:11 p.m.