sobir (version 0.1.1)

perm_area: Calculate the permuted area

Description

perm_area calculates the no-data zone areas for each permutation of the data simulated nsim times.

Usage

perm_area(xdat, ydat, nsim)

Arguments

xdat

a vector of the independent data

ydat

a vector of the dependent data

nsim

the number of simulations to run

Value

a perm table that can be plotted directly using perm_plot()

Examples

Run this code
# 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