Question 1
library(readr)
HR_comma_sep <- read_csv("~/Documents/DATA 3310/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, numeric data type
- number project: discrete variable, numeric data type
- work accident: binary variable, numeric data type
- salary: ordinal variable, character data type
- last evaluation: continuous variable, numeric data type
- number project: discrete variable, numeric data type
- average monthly hours: discrete variable, numeric data type
- time spend company: discrete variable, numeric data type
- left: binary variable, numeric data type
- promotion last 5years: binary variable, numeric data type
- department: nominal variable, character data type