File:R-US state areas-boxplot log.svg
| Description |
English: Horizontal boxplot example with logged (base 10) continuous data, outliers identified by name. Data = US state areas |
||
| Date | |||
| Source | Own work | ||
| Author | HYanWong | ||
| Permission (Reusing this file) |
|
||
| SVG development | Category:Valid SVG created with R code#R-US%20state%20areas-boxplot%20log.svg | ||
| Source code | R codesvg(file = "R-US_state_areas-boxplot_log.svg", width = 5, height = 1.5, pointsize = 8)
#Horizontal boxplot example with logged (base 10) continuous data, outliers identified by name. 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,0.5,0))
title(xlab=expression(log[10](italic("LandArea"))), mgp=c(2,0.5,0))
title(main="Size of US states", line=2.5)
dev.off()
|