This is a file from the Wikimedia Commons

File:R-horsekick totals-by year.svg

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

Original file(SVG file, nominally 360 × 360 pixels, file size: 80 KB)

Description
English: Simple time series plot (points joined by lines). 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-by_year.svg", width = 4, height = 4, pointsize = 8)
#Simple time series plot (points joined by lines). Data = von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps
library("pscl")
par(mar=c(4,4,5,3)+0.1)
X <- tapply(prussian$y, prussian$year, sum)
plot(X, type="o", xaxt="n", xlab="Year", ylab=expression(italic("deathsPerYear")), ylim=c(0,20))
axis(1, seq_along(X), paste("'", names(X), sep=""), las=3)
title("Deaths by horsekick in\nPrussian cavalry corps, 1875-94", line=2)
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
current22:52, 6 March 2009Thumbnail for version as of 22:52, 6 March 2009360 × 360 (80 KB)HYanWong {{Information |Description={{en|1=Simple time series plot (points joined by lines). Data {{=}} von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps}} |Source=Own work by uploader |Author=HYanWong |Date=2009

The following page uses this file: