lancaster: Lancaster method

Description Usage Arguments Examples

View source: R/lancaster.R

Description

Weighted p-value aggregation.

Usage

1
lancaster(pvalues, weights)

Arguments

pvalues

A vector of p-values (i.e. between 0 and 1). NAs will be filtered out.

weights

A vector of weights, each associated with its respective p-value. Weights must be nonegative. NAs and negative weights will be filtered out with corresponding p-values.

Examples

1
lancaster(c(.1, .5), c(2, 4))

Example output

[1] 0.2409106

aggregation documentation built on May 2, 2019, 9:14 a.m.