View source: R/CauchyCombination.R

OmniP | R Documentation |

Obtains an omnibus p-value from a vector of potentially dependent p-values using the method of Cauchy combination. The p-values are converted to Cauchy random deviates then averaged. The distribution of the average of these deviates is well-approximated by a Cauchy distribution in the tails. See <https://doi.org/10.1080/01621459.2018.1554485>.

```
OmniP(p, w = NULL)
```

`p` |
Numeric vector of p-values. |

`w` |
Numeric weight vector. |

OINT p-value.

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.