Question 1
library(readr)
HR_comma_sep <- read_csv("DATA 3210/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 : Data type num , numeric continuous
variable
- last_evaluation : Data type num , numeric continuous variable
- number_project : Data type num , numeric discrete variable
- average_montly_hours : Data type num , numeric discrete
variable
- time_spend_company : Data type num , numeric discrete variable
- Work_accident : Data type num , binary dichotomous variable
- left : Data type num , binary dichotomous variable
- promotion_last_5years: Data type num , binary dichotomous
variable
- Department : Data type chr , categorical nominal variable
- salary : Data type ch , categorical nominal variable