boxplot.matrix package:graphics R Documentation _D_r_a_w _a _B_o_x_p_l_o_t _f_o_r _e_a_c_h _C_o_l_u_m_n (_R_o_w) _o_f _a _M_a_t_r_i_x _D_e_s_c_r_i_p_t_i_o_n: Interpreting the columns (or rows) of a matrix as different groups, draw a boxplot for each. _U_s_a_g_e: ## S3 method for class 'matrix': boxplot(x, use.cols = TRUE, ...) _A_r_g_u_m_e_n_t_s: x: a numeric matrix. use.cols: logical indicating if columns (by default) or rows ('use.cols=FALSE') should be plotted. ...: Further arguments to 'boxplot'. _V_a_l_u_e: A list as for 'boxplot'. _A_u_t_h_o_r(_s): Martin Maechler, 1995, for S+, then R package 'sfsmisc'. _S_e_e _A_l_s_o: 'boxplot.default' which already works nowadays with data.frames; 'boxplot.formula', 'plot.factor' which work with (the more general concept) of a grouping factor. _E_x_a_m_p_l_e_s: ## Very similar to the example in ?boxplot mat <- cbind(Uni05 = (1:100)/21, Norm = rnorm(100), T5 = rt(100, df = 5), Gam2 = rgamma(100, shape = 2)) boxplot(mat, main = "boxplot.matrix(...., main = ...)", notch = TRUE, col = 1:4)