this function draws a stripplot for illustrating the t or Wilcoxon paired test.
1 2 3 | pasek_plot(x, y, labelx = "", labely = "", ylabel = "",
greater = 0, color1 = ifelse(greater, "grey", "black"),
color2 = "black", side = "both")
|
labelx |
label on the first dataset |
labely |
label on the second dataset |
greater |
categorical/numeric, shows which variable is expected to be greater – if it is zero, |
color1 |
the color of the less interesting case |
color2 |
the color of the more interesting case |
(x, |
y) paired data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.