BlackBrownRedBlond0.05.010.015.020.025.030.035.040.045.050.00.053.0BrownBlueHazelGreenGroupedStacked

  1. hair_eye_male = subset(as.data.frame(HairEyeColor), Sex == "Male")
  2. n1 <- nPlot(Freq ~ Hair,
  3. group = 'Eye',
  4. data = hair_eye_male,
  5. type = 'multiBarChart'
  6. )
  7. n1