maLoessLines             package:marray             R Documentation

_A_d_d _s_m_o_o_t_h_e_d _f_i_t_s _t_o _a _p_l_o_t

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

     This function may be used to compute and plot loess or lowess fits
     for an existing plot. The plot can be produced by 'plot',
     'maPlot', or 'maPlot.func'.

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

     maLoessLines(subset=TRUE, weights=NULL, loess.args=list(span = 0.4,
     degree=1, family="symmetric", control=loess.control(trace.hat =
     "approximate", iterations=5, surface="direct")), col=2, lty=1, lwd=2.5, ...)

     maLowessLines(subset = TRUE, f = 0.3, col = 2, lty = 1, lwd = 2.5, ...)

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

  subset: A "logical" or "numeric" vector indicating the subset of
          points used to compute the fits. 

 weights: Optional "numeric" vector of weights - for 'maLoessLines'
          only.

loess.args: List of optional arguments for the 'loess' functions - for
          'maLoessLines' only.

       f: The smoother span for the 'lowess' function - for
          'maLowessLines' only.

     col: The fitted line colors.

     lty: The fitted line types.

     lwd: The fitted line widths.

     ...: Optional graphical parameters, see 'par'.

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

     A function with bindings for 'subset', 'weights', 'loess.args', 
     'col', 'lty', 'lwd', and '...'. This latter function takes as
     arguments 'x' and 'y', the abscissa and ordinates of points on the
     plot, and 'z' a vector of discrete values used to stratify the
     points. Loess (or lowess) fits are performed separately within
     values of 'z'.

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

     Sandrine Dudoit, <URL: http://www.stat.berkeley.edu/~sandrine>.

_R_e_f_e_r_e_n_c_e_s:

     S. Dudoit and Y. H. Yang. (2002). Bioconductor R packages for
     exploratory analysis and normalization of cDNA microarray data. In
     G. Parmigiani, E. S. Garrett, R. A. Irizarry and S. L. Zeger,
     editors, _The Analysis of Gene Expression Data: Methods and
     Software_, Springer, New York.

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

     'loess', 'lowess', 'maPlot', 'maPlot.func'.

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

     # See examples for maPlot.

