par(mfrow=c(1,2))
plot(1:12, log = "y")
plot(1:2, xaxs = "i")
However, when I try to do a side-by-side densityplot the plots get output seperately:
# load the stud.recs dataset
library(UsingR)
par(mfrow=c(1,2))
densityplot(stud.recs$sat.v)
densityplot(stud.recs$sat.m)
Why is par(mfrow=c(1,2))
not working for the density plots?