linearModel              package:Rcmdr              R Documentation

_R_c_m_d_r _L_i_n_e_a_r _M_o_d_e_l _D_i_a_l_o_g

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

     This dialog is used to specify a linear model to be fit by the
     'lm' function.

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

     Enter a name for the linear model to be fit if you want to retain
     more than one model. The model  name must be a valid R object name
     (consisting only of upper and lower-case letters, numerals, and
     periods, and not starting with a numeral).

     The variable-list box is there only to remind you of the names of
     variables in the active data set. Factors are indicated in the
     variable list; all other variables are numeric.

     The left model-formula box specifies the response variable to be
     used in the model; it may be a variable name or an expression
     evaluating to the response variable, such as 'log(income)'.

     The right model-formula box specifies the right-hand (i.e.,
     predictor) side of the model. See 'lm' for details.

     You can type directly in the model formula boxes. Alternatively,
     double-clicking the left mouse button on a variable in the
     variable-list transfers it to the left-hand side of the model (if
     it is empty) or to the right-hand side. You can also enter
     operators and parentheses using the buttons above the formula.

     Specifying a subset expression allows you to fit the model to a
     subset of observations in the active data set. For example,
     assuming that 'gender' is a variable in the active data set,
     entering 'gender == "Male"' would restrict the model to males.

     If the active model is a linear model and the active data set has
     not changed,  then the initial values of the left-hand-side,
     right-hand-side, and subset fields are retained from the previous
     model.

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

     John Fox jfox@mcmaster.ca

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

     'lm', 'Comparison'

