ordmeta: ordmeta

Description Usage Arguments Value Examples

Description

Minimum Marginal P-value in joint order distribution

Usage

1
ordmeta(p, is.onetail = TRUE, eff.sign = NULL)

Arguments

p

A vector of p-values

is.onetail

Logical. If set TRUE, p-values are combined without considering the direction of effect, and vice versa. Default: TRUE.

eff.sign

A vector of signs of effect sizes. It works when is.onetail = FALSE

Value

A list of combined p-value (p), optimal rank where minimum marginal p-value exists (optimal_rank), index of effective p-values (eff.p.idx) and minimum marginal p-value (MMP) if is.onatail=TRUE. Otherwise, the direction of combined effects (overall.eff.direction) is added.

Examples

1
ordmeta(p=c(0.01, 0.02, 0.8, 0.25), is.onetail=FALSE, eff.sign = c(1,1,1,-1))

metapro documentation built on June 14, 2019, 5:04 p.m.

Related to ordmeta in metapro...