powered by
Utility Functions for Graphics
mfrow returns a 2-long numeric vector suitable to use in par(mfrow=x), that will arrange n panels in a single plot.
mfrow
par(mfrow=x)
n
mfrow(n)
a 2-long numeric vector that can be passed to par(mfrow = <value>).
par(mfrow = <value>)
number of plots to be arranged.
mfrow(1) mfrow(2) mfrow(3) mfrow(4) mfrow(10)
Run the code above in your browser using DataLab