I would like to print a barchart without labels for categorical variables.  
What change should be made to below command?

Thanks,
Naresh

boy.age <- data.frame(name = c("alpha", "beta", "charlie", "gerald"), age = 
c(7, 9, 6, 5))

boy.age$name <- with(boy.age, reorder(name, age))

# draws with names on labels
barchart(name ~ age, data = boy.age, scales = list(y = list(alternating = 
FALSE)))

# draws with names on labels
barchart(name ~ age, data = boy.age, ylab = "")
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to