perm_area calculates the no-data zone areas for each permutation of the data simulated nsim times.
perm_area(xdat, ydat, nsim)
a vector of the independent data
a vector of the dependent data
the number of simulations to run
a perm table that can be plotted directly using perm_plot()
# NOT RUN { a = rnorm(100,0,1) b = rnorm(100,0,1) perm_area(a,b,10) # }
Run the code above in your browser using DataLab