Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/refinedBoundaries.R

Given a set of p-values, returns adjusted p-values, including the hybrid Hochberg<e2><80><93>Hommel procedure (Gou et al., 2014).

1 | ```
p.adjust.gtxr(p, method = "gtxr", n = length(p))
``` |

`p` |
vector of p-values. |

`method` |
multiplicity correction method, "gtxr" is the hybrid Hochberg<e2><80><93>Hommel method, other methods include: "gtxr", "holm", "hochberg", "hommel", "bonferroni", "BH", "BY","fdr", "none". |

`n` |
number of p-values. |

#

Given a set of p-values, returns p-values adjusted using one of several methods. The default method is "gtxr". Other adjustment methods have been included in function p.adjust in R package stats.

a vector of corrected p-values.

Jiangtao Gou

Gou, J., Tamhane, A. C., Xi, D., and Rom. D. (2014). A class of improved hybrid Hochberg-Hommel type step-up multiple test procedures. *Biometrika* **101**, 899-911.

1 2 | ```
pvalues.raw <- c(0.002,0.007,0.005,0.024,0.022,0.009,0.007,0.036,0.060,0.035)
p.adj <- p.adjust.gtxr(pvalues.raw, method = "gtxr")
``` |

gsrsb documentation built on May 29, 2017, 7:12 p.m.

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.