File:R-US state areas-boxplot sqrt.svg
| Description |
English: Horizontal boxplot example with square-root transformed 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%20sqrt.svg | ||
| Source code | R codesvg(file = "R-US_state_areas-boxplot_sqrt.svg", width = 5, height = 1.5, pointsize = 8)
#Horizontal boxplot example with square-root transformed continuous data, outliers identified by name. 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")
title(main="Size of US states", line=2.5)
dev.off()
|