January 2018
Beginner to intermediate
422 pages
9h 47m
English
Let's now look at a practical case: in a company, we have been collecting employee wages based on years of experience. We now want to create a model that allows us to see an employee's salary progression over time. Three types of employees were considered: Management, TechnicalStaff, and GeneralStaff. Let's start by importing data into the R environment; we have a worksheet named employees.xlsx:
library(readxl)setwd ("c://R")EmployeesSalary <- read_excel("employees.xlsx")summary(EmployeesSalary)
First, we loaded the library through the library command.
Remember that to install a library that is not present in the initial distribution of R, you must use the install.package function. This is the main function used to install ...
Read now
Unlock full access