Question 1
library(readr)
HR_comma_sep <- read_csv("Downloads/HR_comma_sep.csv")
## Rows: 14999 Columns: 10
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (2): Department, salary
## dbl (8): satisfaction_level, last_evaluation, number_project, average_montly...
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
Question 2
- Satisfaction Level: Continuous variable, and numeric data type
- Last Evaluation: Continuous variable, and numeric date type
- Number Project: Discrete variable, and numeric data type
- Average Monthly Hours: Discrete variable, and numeric data type
- Time Spent at Company: Discrete variable, and numeric data type
- Work Accident: Binary variable, and numeric data type
- Left: Binary variable, and numeric data type
- Promotion Last 5 Years: Binary variable, and numeric data type
- Department: Nominal variable, and character data type
- Salary: Ordinal variable, and character data type