Description Usage Arguments Value Author(s)

Based on a vector of p-values the proportion false positive (fp) and the proportion false negative are calculated for each entry, assuming that one to be the last to be called significant. The sum of fp and fn is also calculated (errors). Furthermore, an estimate of the proportion unchanged together with the number of the entry with minimum errors.

1 | ```
fp.fn(ps = pvals, B = 100)
``` |

`ps` |
a vector of p-values |

`B` |
the number of bootstrap loops done by the function estimatep0 called by fp.fn |

A list with components

`p0` |
the estimated proportion unchamged |

`fp` |
the estimated proportion false positives |

`fn` |
the estimated proportion false negatives |

`N` |
the number of the p-value (significance level) that gives minimum fp + fn |

Per Broberg

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.