Description Usage Arguments Value Author(s) See Also Examples
This function is used to benchmark test for independence on a new type of non-function dependence called patchwork copula
1 | benchmark.patchwork.copula(fun, args, cvals, n = 320, nsim = 500, bins = 20)
|
fun |
function or character naming a function. A function should have two vectors of coordinates as first two arguments |
args |
list of additional arguments to the functions |
cvals |
target mutual information values
vector of concentration factors, these represent mutual information values (see |
n |
numeric, size of the data sets to generate (default 320 points) |
nsim |
numeric, how many replicate simulations to run under the null model and H1, default 500 |
bins |
decimal, number of bins of the bins*bins grid, (see |
This function returns a list data structure that can be further processed with the functions of this package, calculate.power,generate.roc
Sebastian Dümcke duemcke@mpipz.mpg.de
1 2 3 4 | mycor = function(...) cor(...)^2
copula.vals = benchmark.patchwork.copula(mycor,list(),c(.3,1,10))
drop(calculate.power(copula.vals,.95))
roc.plot(generate.roc(copula.vals))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.