R Dataset / Package vcd / Suicide

On this R-data statistics page, you will find information about the Suicide data set which pertains to Suicide Rates in Germany. The Suicide data set is found in the vcd R package. You can load the Suicide data set in R by issuing the following command at the console data("Suicide"). This will load the data into a variable called Suicide. If R says the Suicide data set is not found, you can try installing the package by issuing this command install.packages("vcd") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Suicide R data set. The size of this file is about 11,551 bytes.

Suicide Rates in Germany

Description

Data from Heuer (1979) on suicide rates in West Germany classified by age, sex, and method of suicide.

Usage

data("Suicide")

Format

A data frame with 306 observations and 6 variables.

Freq

frequency of suicides.

sex

factor indicating sex (male, female).

method

factor indicating method used.

age

age (rounded).

age.group

factor. Age classified into 5 groups.

method2

factor indicating method used (same as method but some levels are merged).

Source

Michael Friendly (2000), Visualizing Categorical Data: http://euclid.psych.yorku.ca/ftp/sas/vcd/catdata/suicide.sas

References

J. Heuer (1979), Selbstmord bei Kindern und Jugendlichen. Ernst Klett Verlag, Stuttgart.

M. Friendly (2000), Visualizing Categorical Data. SAS Institute, Cary, NC.

Examples

data("Suicide")
structable(~ sex + method2 + age.group, data = Suicide)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-vcd-suicide.html" width="100%" height="100%" style="border:0px"></iframe>