search :
Skip to main content.
Add to Google

Box-Percentile plot

Description

Box-percentile plots are similiar to boxplots, except box-percentile plots supply more information about the univariate distributions. At any height the width of the irregular "box" is proportional to the percentile of that height, up to the 50th percentile, and above the 50th percentile the width is proportional to 100 minus the percentile. Thus, the width at any given height is proportional to the percent of observations that are more extreme in that direction. As in boxplots, the median, 25th and 75th percentiles are marked with line segments across the box.

Note

48.61 / 100   (18 votes)
Vote (between 0 and 100) :

Requirements

source code

Download or view
example(bpplot)
RGraphGallery(77,10,8)

packages

The following packages will be needed to produce that graph

Hmisc

Keywords

bioconductor
Cluster analysis
Dimension: bivariate
Dimension: multivariate
Dimension: univariate
Mathematical annotations
Quantile regression
Rcore: colors
Rcore: core
Rcore: fonts
system: graphics
system: grid
system: lattice
system: rgl
triplot
Var: circular
Var: factor
Var: numeric
View: distribution
View: linear relation
View: spatial
View: trees
add a keyword
just click a keyword to associate it to that graph. If you don't find what you are looking for, you may also create a new keyword.
 3D
 bioconductor
 Cluster analysis
 Dimension:
         bivariate
         multivariate
         univariate
 histogram
 Mathematical annotations
 Quantile regression
 Rcore:
         colors
         core
         fonts
 system:
         graphics
         grid
         lattice
         rgl
 triplot
 Var:
         circular
         factor
         numeric
         TimeSeries
 View:
         distribution
         linear relation
         spatial
         trees

See also ...

Wiki page

 Go to the wiki page associated to that graphic. Feel free to add comments, etc ... there.
Warning: fopen(http://wiki.r-project.org/rwiki/doku.php?id=graph_gallery:graph77&do=export_raw) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /mnt/114/free.fr/2/c/addictedtor/graphiques/scriptsphp/bottom_graph.php on line 181

Warning: fread(): supplied argument is not a valid stream resource in /mnt/114/free.fr/2/c/addictedtor/graphiques/scriptsphp/bottom_graph.php on line 182

Author(s)

Franck Harrell
Jeffrey Banfield
   
require(Hmisc) 

set.seed(1)
x1 <- rnorm(500) 
x2 <- runif(500, -2, 2) 
x3 <- abs(rnorm(500))-2 
bpplot(x1, x2, x3)
g <- sample(1:2, 500, replace=TRUE) 
bpplot(split(x2, g), name=c('Group 1','Group 2'))