Description Usage Arguments Value Author(s)
View source: R/plot_permutation.R
This function is mostly for plotting the permutations in this package, but can still be used for making a nice plot, if you have the values of a distribution you want to plot nicely and an observed value. To use this you need to install ggplot2.
1 | plot_permutation(data, observed, title)
|
data |
vector of values, that can be used for a distribution (or that you just want plotted) |
observed |
observed value |
title |
title of the plot (string) |
plot_permutaion returns a ggplot.
Adrián Gómez & Solveig Østergaard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.