Question 1
library(readr)
HR_comma_sep_copy <- read_csv("Documents/HR_comma_sep copy.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 is a continuous variable, and numeric data
type
- last_evaluation is a continuous variable, and numeric data type
- number_project is a discrete variable, and numeric data type
- average_monthly_hours is a discrete variable, and a numeric data
type
- time_spend_company is a discrete variable, and a numeric data
type
- work_accident is a binary variable, and a numeric data type
- left is a binary variable, and a numeric date type
- promotion_last_5years is a binary variable and and numeric data
type
- department is a ordinal variable and the character data type
- salary is a ordinal variable, and a character data type