Combine \(p\)-values by the vote counting method
votep(p, alpha = c(0.5, 0.5))
# S3 method for votep
print(x, ...)A vector of significance values
A vector of length 2 defining the significance value limits
An object of class ‘votep’
Other arguments to be passed through
An object of class ‘votep’
and ‘votep’, a list with entries
\(p\) value
Number of positives
Number of negatives
A vector of length 2 defining the significance values and lying in the range 0 to 1
The input vector with illegal values removed
By default splits the \(p\)-values at 0.5 with those below counting as positive and those above counting as negative. However setting alpha allows for a different choice of cut-off and also by specifying two different values for a neutral zone. If either value of alpha is greater than unity it is assumed to be a percentage.
The values of \(p_i\) should be such that \(0<p_i<1\) and a warning is given if that is not true. An warning is given if, possibly as a result of removing illegal values, fewer than two values remain and the return values are set to NA.
The plot method for class ‘metap’ calls plotp on the valid \(p\)-values.
becker94metap
See also plotp
# NOT RUN {
data(beckerp)
votep(beckerp)
# }
Run the code above in your browser using DataLab