On this Rmarkdown I’ll show in graphs the results of the survey attitude, related to a questionnaire made to approximately 35 employees for each 30 (randomly selected) departments.
First we bring up the data with
View(attitude)
then we start creating the different type of plots.
plot(attitude$rating,attitude$complaints,frame.plot = FALSE,type = "p",xlab = "Overall Rating",ylab = "Complaints", main = "Complaints results graph")
plot(attitude$rating,attitude$privileges,frame.plot = FALSE,type = "p",xlab = "Overall Rating",ylab = "Privileges", main = "Privileges results graph")
plot(attitude$rating,attitude$learning,frame.plot = FALSE,type = "p",xlab = "Overall Rating",ylab = "Learning", main = "Learning results graph")
plot(attitude$rating,attitude$raises,frame.plot = FALSE,type = "p",xlab = "Overall Rating",ylab = "Raises", main = "Raises results graph")
plot(attitude$rating,attitude$critical,frame.plot = FALSE,type = "p",xlab = "Overall Rating",ylab = "Critical", main = "Critical results graph")
plot(attitude$rating,attitude$advance,frame.plot = FALSE,type = "p",xlab = "Overall Rating",ylab = "Advance", main = "Advance results graph")
plot(attitude$rating,attitude$complaints,frame.plot = FALSE,type = "h",xlab = "Overall Rating",ylab = "Complaints", main = "Complaints results graph")
plot(attitude$rating,attitude$privileges,frame.plot = FALSE,type = "h",xlab = "Overall Rating",ylab = "Privileges", main = "Privileges results graph")
plot(attitude$rating,attitude$learning,frame.plot = FALSE,type = "h",xlab = "Overall Rating",ylab = "Learning", main = "Learning results graph")
plot(attitude$rating,attitude$raises,frame.plot = FALSE,type = "h",xlab = "Overall Rating",ylab = "Raises", main = "Raises results graph")
plot(attitude$rating,attitude$critical,frame.plot = FALSE,type = "h",xlab = "Overall Rating",ylab = "Critical", main = "Critical results graph")
plot(attitude$rating,attitude$advance,frame.plot = FALSE,type = "h",xlab = "Overall Rating",ylab = "Advance", main = "Advance results graph")
boxplot(attitude,main="Attitude Questionarie",frame.plot=FALSE)