latticeパッケージのplotで画面の分割

明示的にprintで描画し,オプションで指定する。

fac1 <- factor(c(rep(1,1), rep(2,2), rep(3,3)))
fac2 <- factor(c(rep(1,3), rep(2,2), rep(3,1)))
print(histogram(fac1), more=TRUE, split=c(1,1,2,1))
            # split=c(行方向の描画位置, 列方向の描画位置,
            #            行方向の分割数, 列方向の分割数)
print(histogram(fac2), split=c(2,1,2,1))

詳細はlatticeを読み込んでからhelp(print.trellis)で。