Description Usage Arguments Value

Computes an estimated p-value for Kendall's Tau_b for zero inflated continuous data as in Pimentel(2009).

1 | ```
calc_p(x, y, estimator = "values", p11 = 0, p01 = 0, p10 = 0)
``` |

`x, y` |
vectors to be correlated. Must be numeric. |

`estimator` |
string indicating how the parameters $p_11$, $p_01$, $p_10$, $p_00$ are to be estimated. The default is 'values', which indicates that they are estimated based on the entries of x and y. If estimates=='mean', each $p_ji$ is estimated as the mean of all pairs of column vectors in m1, and of m2 if needed. If estimates=='own', the $p_ji$'s must be given as arguments. |

`p11` |
probability that a bivariate observation is of the type (m,n), where m,n>0 |

`p01` |
probability that a bivariate observation is of the type (0,n), where n>0 |

`p10` |
probability that a bivariate observation is of the type (n,0), where n>0 |

p-value of correlation.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.