[R] [External] A simple lattice histogram
Richard M. Heiberger
rmh @end|ng |rom temp|e@edu
Wed Apr 20 18:02:57 CEST 2022
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_gurbuxani using hotmail.com> wrote:
>
> library(lattice)
> library(AER)
> data(CreditCard)
> histogram( ~ card + reports, data = CreditCard, scales = "free")
More information about the R-help
mailing list