File:R-horsekick totals-stackline.svg

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

Description
English: Vertical line plot (histogram-like) example for discrete data. 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-stackline.svg", width = 4, height = 2.5, pointsize = 8)
#Vertical line plot (histogram-like) example for discrete data. Data = von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps
library("pscl")
par(mar=c(4,4,4,2)+0.1)
plot(table(tapply(prussian$y, prussian$year, sum)), type="h", xlim=c(0,20), ylim=c(0,3), xlab=expression(italic("deathsPerYear")),xaxt="n", yaxt="n", ylab="Number of years", bty="n")
axis(1,0:20, tcl=0, las=2)
axis(2, 0:3, las=2)
title("Deaths by horsekick in \nPrussian cavalry corps, 1875-94")
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:53, 6 March 2009Thumbnail for version as of 22:53, 6 March 2009360 × 225 (87 KB)HYanWong {{Information |Description={{en|1=Vertical line plot (histogram-like) example for discrete data. Data {{=}} von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps}} |Source=Own work by uploader |Author=[[User:HYanWong|HYanWong

The following page uses this file: