looking for some solutions? You are welcome.

SOLVED: Boxplot juust displaying 2 groups

blue-sky:

Using this code :

employee <- c('John Doe','Peter Gynn','Jolie Hope')
salary <- c(21000, 23400, 26800)
employ.data <- data.frame(employee, salary)
boxplot(employ.data$employee, employ.data$salary) 

I generate box plot below :

enter image description here

How to generate three box plots, 1 for each employee ?



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
Share:

No comments:

Recent