start here library(latticeExtra) c(histogram(~ card, data=CreditCard), histogram(~ reports, data=CreditCard))
then continue with resizePanels(c(histogram(~ card, data=CreditCard), histogram(~ reports, data=CreditCard), y.same=TRUE), w=c(2,16)) > On Apr 20, 2022, at 11:27, Naresh Gurbuxani <naresh_gurbux...@hotmail.com> > wrote: > > library(lattice) > library(AER) > data(CreditCard) > histogram( ~ card + reports, data = CreditCard, scales = "free") ______________________________________________ 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.