Create barplots of a list of numeric values and error bars according to the confidence interval, standard deviation, interquartile range, etc.

1 2 3 4 5 6 |

`x` |
List of numeric values |

`...` |
Arguments forwarded to barplot in default method. |

`ylim` |
A range for the y-axis limits. |

`height.fun` |
Function to apply on each list object to calculate the height of the bars from. |

`height.args` |
Arguments forwarded to height.fun, as a named list. |

`error.fun` |
Function to calculate the error size. See also details. |

`error.args` |
Arguments forwarded to error.fun, as a named list. |

`arrows.args` |
Arguments forwarded to arrows, as a named list. |

`na.rm` |
Logical, remove missing values. |

Example for quantiles:

`interquartile <- function(x) {quartile(x,.75)-mean(x)}`

`quantileQ <- function(x, q) {abs(quartile(x,q[1])-mean(x))}`

Sven E. Templer

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.