sobir (version 0.1.2)

perm_plot: Perm Plot

Description

perm_plot calculates the significance of the observed no-data zones and plots them relative to the simulations.

Usage

perm_plot(perm, histogram = TRUE)

Arguments

perm

a perm object generated by the perm_area() function.

histogram

TRUE or FALSE. TRUE plots histograms while FALSE plots density plots.

Value

a ggplot2 histogram and p-value for each no-data zone

Examples

Run this code
# NOT RUN {
a = rnorm(100,0,1)
b = rnorm(100,0,1)
permExample = perm_area(a,b,10)
perm_plot(permExample, 100)
# }

Run the code above in your browser using DataLab