asOneFormula              package:nlme              R Documentation

_C_o_m_b_i_n_e _F_o_r_m_u_l_a_s _o_f _a _S_e_t _o_f _O_b_j_e_c_t_s

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

     The names of all variables used in the formulas extracted from the
     objects defined in '...' are converted into a single linear
     formula, with the variables names separated by '+'.

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

     asOneFormula(..., omit)

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

     ...: objects, or lists of objects, from which a formula can be
          extracted.

    omit: an optional character vector with the names of variables to
          be omitted from the returned formula. Defaults to c(".",
          "pi").

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

     a one-sided linear formula with all variables named in the
     formulas extracted from the objects in '...', except the ones
     listed in 'omit'.

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

     Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates
     bates@stat.wisc.edu

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

     'formula', 'all.vars'

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

     asOneFormula(y ~ x + z | g, list(~ w, ~ t * sin(2 * pi)))

