votep | R Documentation |

Combine \mjseqnp-values by the vote counting method\loadmathjax

votep(p, alpha = 0.5) ## S3 method for class 'votep' print(x, ...)

`p` |
\sigvec |

`alpha` |
A value defining the significance value limits, see Details |

`x` |
An object of class ‘ |

`...` |
Other arguments to be passed through |

By default splits the \mjseqnp-values at 0.5 with those below counting as positive and those above counting as negative. However setting alpha allows specifying a neutral zone. In that case values between alpha and 1 - alpha will be assumed to be neutral and only those outside the zone counted as positive or negative. If the value of alpha is greater than unity it is assumed to be a percentage.

\ltlttwo

\plotmethodAn object of class ‘`votep`

’
and ‘`votep`

’, a list with entries

`p` |
\mjseqn p value |

`pos` |
Number of positives |

`neg` |
Number of negatives |

`alpha` |
The cut–off significance value lying in the range 0 to 1 |

`validp` |
The input vector with illegal values removed |

Michael Dewey

becker94metap

See also `plotp`

data(dat.metap) beckerp <- dat.metap$beckerp votep(beckerp)

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.