qqt                  package:limma                  R Documentation

_S_t_u_d_e_n_t'_s _t _Q_u_a_n_t_i_l_e-_Q_u_a_n_t_i_l_e _P_l_o_t

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

     Plots the quantiles of a data sample against the theoretical
     quantiles of a Student's t distribution.

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

     qqt(y, df = Inf, ylim = range(y), main = "Student's t Q-Q Plot", 
         xlab = "Theoretical Quantiles", ylab = "Sample Quantiles", plot.it = TRUE, ...) 

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

       y: a numeric vector or array containing the data sample

      df: degrees of freedom for the t-distribution.  The default
          'df=Inf' represents the normal distribution.

    ylim: plotting range for 'y'

    main: main title for the plot

    xlab: x-axis title for the plot

    ylab: y-axis title for the plot

 plot.it: whether or not to produce a plot

     ...: other arguments to be passed to 'plot'

_D_e_t_a_i_l_s:

     This function is analogous to 'qqnorm' for normal probability
     plots. In fact 'qqt(y,df=Inf)' is identical to 'qqnorm(y)' in all
     respects except the default title on the plot.

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

     A list is invisibly returned containing the values plotted in the
     QQ-plot: 

       x: theoretical quantiles of the t-distribution

       y: the data sample, same as input 'y'

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

     Gordon Smyth

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

     'qqnorm'

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

     #  See also the lmFit examples

     y <- rt(50,df=4)
     qqt(y,df=4)
     abline(0,1)

