plotCompare              package:BGmix              R Documentation

_S_c_a_t_t_e_r _p_l_o_t _w_i_t_h _e_q_u_a_l _a_x_e_s.

_D_e_s_c_r_i_p_t_i_o_n:

     Plots a scatter plot of two variables with equal scales for the
     axes.

_U_s_a_g_e:

     plotCompare(var1, var2, limi = 0, xlab = substitute(var1), ylab = substitute(var2), log = "", title = "", ...)

_A_r_g_u_m_e_n_t_s:

    var1: data to plot (x co-ordinate)

    var2: data to plot (y co-ordinate)

    limi: limits of axes. If not specified, axes limits are determined
          from input data.

    xlab: x-axis label

    ylab: y-axis label

     log: specifies if axes are on the log scale (as argument to 'par')

   title: title of plot

     ...: other parameters input to plot

_V_a_l_u_e:

     Outputs the limits used in the plot (the input 'limi' argument if
     specified).

_A_u_t_h_o_r(_s):

     Alex Lewin

_E_x_a_m_p_l_e_s:

     x <- runif(100)
     y <- rbeta(100,0.5,0.5)
     plotCompare(x,y)

