Li Huang
11/13/2015
The data is from a survey of the clerical employees of a large financial organization, the data are aggregated from the questionnaires of the approximately 35 employees for each of 30 (randomly selected) departments. The numbers give the percent proportion of favourable responses to seven questions in each department. There are 7 types of data: rating,complaints,privileges,learning,raises,critical,advance.
Find more by type ?attitude in R console.
df <- attitude[which(attitude$rating <= input$rating[2] & attitude$rating >= input$rating[1]), ]
df <- df[colName]
d1 <- as.matrix(df)
d1 <- melt(d1)
names(d1)[1:2] <- c("id", "type")
x1 <- xPlot(value ~ type, group = "id", data = d1, type = "line-dotted")
x1