plot_permutation: plot_permutation

Description Usage Arguments Value Author(s)

View source: R/plot_permutation.R

Description

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.

Usage

1

Arguments

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)

Value

plot_permutaion returns a ggplot.

Author(s)

Adrián Gómez & Solveig Østergaard


aumath-advancedr2019/Permutation1 documentation built on Nov. 27, 2019, 6:06 a.m.