MAKE A MEME View Large Image R-US state areas-boxplot sqrt+extras.svg en Horizontal boxplot example with square-root-transformed continuous data outliers identified by name and both log linear axes plotted Data US state areas Own HYanWong 2009-03-06 Created with R ...
View Original:R-US state areas-boxplot sqrt+extras.svg (360x108)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: R-US state areas-boxplot sqrt+extras.svg en Horizontal boxplot example with square-root-transformed continuous data outliers identified by name and both log linear axes plotted Data US state areas Own HYanWong 2009-03-06 Created with R using the following commands <pre> svg file R-US_state_areas-boxplot_sqrt+extras svg width 5 height 1 5 pointsize 8 Horizontal boxplot example with square-root-transformed continuous data outliers identified by name and both log linear axes plotted Data US state areas par mar c 3 4 4 1 +0 1 X <- sqrt state area 2 58998811 stripchart X pch NA xlim c 0 max X xlab expression sqrt italic landArea mgp c 2 0 5 0 bp <- boxplot X horizontal TRUE add TRUE xaxt n axis 3 sqrt 10 5 0 20 10 2 0 20 cex axis 0 8 mgp c 2 5 0 4 0 las 3 tcl -0 2 mtext expression italic LandArea 3 line 2 adj -0 11 cex 0 8 mtext expression paste 1000s of km 2 sep 3 line 1 2 adj -0 15 cex 0 8 abline v sqrt 10 5 0 20 lty dotted col lightgray title main Size of US states line 2 5 Label outliers outliers <- order match X sort boxplot stats X out na last NA odd <- c TRUE FALSE text Xoutliersodd 1 labels state nameoutliersodd adj -0 2 cex 0 65 srt 45 xpd NA col grey40 text Xoutliers odd 1 labels state nameoutliers odd adj 1 2 cex 0 65 srt 45 xpd NA col grey40 dev off </pre> Box plots Images with R source code
Terms of Use   Search of the Day