setup_viewports            package:ggplot            R Documentation

_S_e_t_u_p _v_i_e_w_p_o_r_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Setup matrix of viewports for a layout with given parameters

_U_s_a_g_e:

     setup_viewports(type, rows=nrow(data), cols=ncol(data), data, offset=c(0,0), range)

_A_r_g_u_m_e_n_t_s:

    type: viewport type

    rows: number of rows

    cols: number of columns

    data: optional data to compute rows and columns from

  offset: offset from top and left

   range: list containing x and y ranges

_D_e_t_a_i_l_s:

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

