MAKE A MEME View Large Image R-US state areas-boxplot log+extras.svg en Horizontal boxplot example with logged base 10 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 ...
View Original:R-US state areas-boxplot log+extras.svg (360x108)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: R-US state areas-boxplot log+extras.svg en Horizontal boxplot example with logged base 10 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_log+extras svg width 5 height 1 5 pointsize 8 Horizontal boxplot example with logged base 10 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 <- log10 state area 2 58998811 bp <- boxplot X horizontal TRUE xaxt n xlab axis 1 4 6 mgp c 1 5 0 5 0 axis 3 log10 1 9 rep 10 3 7 each 9 rep 45 axis 3 log10 10 3 6 expression 10 3 10 4 10 5 10 6 cex axis 0 8 mgp c 2 5 1 0 mtext expression italic LandArea 3 line 0 8 adj -0 05 cex 0 8 abline v log10 seq 0 2e6 100000 lty dotted col lightgray title main Size of US states line 2 5 title xlab expression log10 italic LandArea mgp c 2 0 5 0 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