

qqnorm {base}                                R Documentation

_Q_u_a_n_t_i_l_e_-_Q_u_a_n_t_i_l_e _P_l_o_t_s

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

     `qqnorm' produces a normal QQ plot of the values in
     `y'.  `qqline' adds a line to a normal quantile-quan-
     tile plot which passes through the first and third
     quartiles.

     `qqplot' produces a QQ plot of two datasets.

     Graphical parameters may be given as arguments to
     `qqnorm', `qqplot' and `qqline'.

_U_s_a_g_e_:

     qqnorm(y, ylim, main = "Normal Q-Q Plot", xlab = "Theoretical Quantiles",
            ylab = "Sample Quantiles", plot.it = TRUE, ...)
     qqline(y, ...)
     qqplot(x, y, plot.it = TRUE, xlab = deparse(substitute(x)),
            ylab = deparse(substitute(y)), ...)

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

       x: The first sample for `qqplot'.

       y: The second or only data sample.

_V_a_l_u_e_:

     For `qqnorm' and `qqplot', a list with components

       x: The x coordinates of the points that were/would be
          plotted

       y: The corresponding y coordinates

_S_e_e _A_l_s_o_:

     `ppoints'.

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

     y <- rt(200, df = 5)
     qqnorm(y); qqline(y, col = 2)
     qqplot(y, rt(300, df = 5))
     data(precip)
     qqnorm(precip, ylab = "Precipitation [in/yr] for 70 US cities")

