

getCovariateFormula(nlme)                    R Documentation

_E_x_t_r_a_c_t _C_o_v_a_r_i_a_t_e_s _F_o_r_m_u_l_a

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

     The right hand side of `formula(object)', without any
     conditioning expressions (i.e. any expressions after a
     `|' operator) is returned as a one-sided formula.

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

     getCovariateFormula(object)

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

  object: any object from which a formula can be extracted.

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

     a one-sided formula describing the covariates associ-
     ated with `formula(object)'.

_A_u_t_h_o_r_(_s_)_:

     Jose Pinheiro and Douglas Bates

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

     `getCovariate'

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

     library(nlme)
     getCovariateFormula(y ~ x | g)
     getCovariateFormula(y ~ x)

