This is a file from the Wikimedia Commons

File:R-horsekick totals-1D jitter.svg

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Original file(SVG file, nominally 135 × 450 pixels, file size: 70 KB)

Description
English: 1D vertical scatterplot (aka vertical "dot plot" or "strip plot") example with discrete data, points jittered. Data = von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps
Date
Source Own work
Author HYanWong
Permission
(Reusing this file)
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
 
This W3C-unspecified chart was created with R.

using the following commands

svg(file = "R-horsekick_totals-1D_jitter.svg", width = 1.5, height = 5, pointsize = 8)
#1D vertical scatterplot (aka vertical "dot plot" or "strip plot") example with discrete data, points jittered. Data = von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps
library("pscl")
par(mar=c(1,4,6,2)+0.1)
stripchart(tapply(prussian$y, prussian$year, sum), pch=1, ylab=expression(italic("deathsPerYear")), method="jitter", vertical=TRUE, las=1, yaxp=c(0,20,20), ylim=c(0,20))
title("Deaths by\nhorsekick in\nPrussian cavalry\ncorps, 1875-94", outer=TRUE, line=-5)
dev.off()

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

6 March 2009

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current23:22, 6 March 2009Thumbnail for version as of 23:22, 6 March 2009135 × 450 (70 KB)HYanWong {{Information |Description={{en|1=1D vertical scatterplot (aka vertical "dot plot" or "strip plot") example with discrete data, points jittered. Data {{=}} von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps}} |Source=Own w

The following page uses this file: