perm_plot: Perm Plot

Description Usage Arguments Value Examples

View source: R/perm_plot.R

Description

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

Usage

1
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

1
2
3
4
a = rnorm(100,0,1)
b = rnorm(100,0,1)
permExample = perm_area(a,b,10)
perm_plot(permExample, 100)

sobir documentation built on Jan. 11, 2020, 9:39 a.m.