R Dataset / Package vcd / DanishWelfare
On this R-data statistics page, you will find information about the DanishWelfare data set which pertains to Danish Welfare Study Data. The DanishWelfare data set is found in the vcd R package. You can load the DanishWelfare data set in R by issuing the following command at the console data("DanishWelfare"). This will load the data into a variable called DanishWelfare. If R says the DanishWelfare 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 DanishWelfare R data set. The size of this file is about 6,841 bytes.
Danish Welfare Study Data
Description
Data from the Danish Welfare Study.
Usage
data("DanishWelfare")
Format
A data frame with 180 observations and 5 variables.
- Freq
-
frequency.
- Alcohol
-
factor indicating daily alcohol consumption: less than 1 unit (<1), 1-2 units (1-2) or more than 2 units (>2). 1 unit is approximately 1 bottle of beer or 4cl 40% alcohol.
- Income
-
factor indicating income group in 1000 DKK (0-50, 50-100, 100-150, >150).
- Status
-
factor indicating marriage status (Widow, Married, Unmarried).
- Urban
-
factor indicating urbanization: Copenhagen (Copenhagen), Suburbian Copenhagen (SubCopenhagen), three largest cities (LargeCity), other cities (City), countryside (Country).
Source
E. B. Andersen (1991), The Statistical Analysis of Categorical Data, page 205.
References
E. B. Andersen (1991), The Statistical Analysis of Categorical Data. 2nd edition. Springer-Verlag, Berlin.
Examples
data("DanishWelfare") ftable(xtabs(Freq ~ ., data = DanishWelfare))
Dataset imported from https://www.r-project.org.