Description Usage Arguments Value Examples

View source: R/qboxplot.stats.R

Produce quantile-based box-and-whisker plot(s) of the given (grouped) values.

1 | ```
qboxplot.stats(x, probs, qtype, range, output="all")
``` |

`x` |
a numeric vector of data values from which to calculate the requested statistics. |

`probs` |
numeric vector of values in [0,1] specifying the percentiles of the upper hinge, the midpoint (usually the median) and the lower hinge. |

`qtype` |
an integer between 1 and 9 indicating which one of the nine quantile algorithms to use (see |

`output` |
limit the output to |

`range` |
this determines how far the plot whiskers extend out from the box. If |

List with the following components:

`quantiles` |
a matrix, each column contains the extreme of the lower whisker, the lower hinge, the median, the upper hinge and the extreme of the upper whisker for one group/plot. |

`outliers` |
a vector with the number of observations in each group. |

`n` |
the values of any data points which lie beyond the extremes of the whiskers. |

1 2 3 |

```
$quantiles
[1] 0.04008562 0.37046287 0.50688141 0.59756746 0.92386866
$outliers
[1] 0.94612795 0.01577551 0.95200619 0.94973380
$n
[1] 100
```

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.