perm_plot calculates the significance of the observed no-data zones and plots them relative to the simulations.
perm_plot(perm, histogram = TRUE)
a perm object generated by the perm_area() function.
TRUE or FALSE. TRUE plots histograms while FALSE plots density plots.
a ggplot2 histogram and p-value for each no-data zone
# 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