R Dataset / Package vcd / Employment


On this R-data statistics page, you will find information about the Employment data set which pertains to Employment Status. The Employment data set is found in the vcd R package. You can load the Employment data set in R by issuing the following command at the console data("Employment"). This will load the data into a variable called Employment. If R says the Employment 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. 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 Employment R data set. The size of this file is about 836 bytes.

Employment Status


Data from a 1974 Danish study given by Andersen (1991) on the employees who had been laid off. The workers are classified by their employment status on 1975-01-01, the cause of their layoff and the length of employment before they were laid off.




A 3-dimensional array resulting from cross-tabulating variables for 1314 employees. The variables and their levels are as follows:

R project statistics dataset table
No Name Levels
1 EmploymentStatus NewJob, Unemployed
2 EmploymentLength <1Mo, 1-3Mo, 3-12Mo, 1-2Yr, 2-5Yr, >5Yr
3 LayoffCause Closure, Replaced


Michael Friendly (2000), Visualizing Categorical Data, pages 126–129.


E. B. Andersen (1991), The Statistical Analysis of Categorical Data. Springer-Verlag, Berlin.

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


data("Employment")## Employment Status
       expected = ~ LayoffCause * EmploymentLength + EmploymentStatus,
       main = "Layoff*EmployLength + EmployStatus")mosaic(Employment,
       expected = ~ LayoffCause * EmploymentLength + LayoffCause * EmploymentStatus,
       main = "Layoff*EmployLength + Layoff*EmployStatus")## Stratified viewgrid.newpage()
pushViewport(viewport(layout = grid.layout(ncol = 2)))
pushViewport(viewport(layout.pos.col = 1))## Closure
mosaic(Employment[,,1], main = "Layoff: Closure", newpage = FALSE)popViewport(1)
pushViewport(viewport(layout.pos.col = 2))## Replaced
mosaic(Employment[,,2], main = "Layoff: Replaced", newpage = FALSE)

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

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-vcd-employment.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-51322.csv 836 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.