oneway                package:lattice                R Documentation

_F_i_t _O_n_e-_w_a_y _M_o_d_e_l

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

     Fits a One-way model to univariate data grouped by a factor, the
     result often being displayed using 'rfs'

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

     oneway(formula, data, location=mean, spread=function(x) sqrt(var(x)))

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

 formula: formula of the form 'y ~ x' where 'y' is the numeric response
          and 'x' is the grouping factor 

    data: data frame in which the model is to be evaluated 

location: function or numeric giving the location statistic to be used
          for centering the observations, e.g. 'median', 0 (to avoid
          centering). 

  spread: function or numeric giving the spread statistic to be used
          for scaling the observations, e.g. 'sd', 1 (to avoid
          scaling). 

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

     A list with components 

location: vector of locations for each group.

  spread: vector of spreads for each group.

fitted.values: vector of locations for each observation.

residuals: residuals ('y - fitted.values').

scaled.residuals: residuals scaled by 'spread' for their group

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

     Deepayan Sarkar Deepayan.Sarkar@R-project.org

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

     'rfs', 'Lattice'

