Statistiek-1 + R

Stamdiagram

» Start

Stamdiagram.


Ook wel een steel-en-blad-diagram genoemd, en in het Engels  een stem-and-leaf-plot geheten [zie Buijs 1.5.1, p. 44).


> bron <- "http://www.mzandee.net/~zandee/statistiek/data/gegevens.txt"

> cohort <- read.table(bron, header=T)

> attach(cohort)

> names(cohort)

[1] "lichaam"  "arm"      "pols"     "geslacht" "hand"     "ogen"   

 

> stem(lichaam)

The decimal point is 1 digit(s) to the right of the |

15 | 4

15 | 6899

16 | 44

16 | 5568889

17 | 11123334

17 | 5556688889999

18 | 00000001112234

18 | 556777888

19 | 11111223