fmobj                 package:rmutil                 R Documentation

_O_b_j_e_c_t _F_i_n_d_e_r

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

     'fmobj' inspects a formula and returns a list containing the
     objects referred to, with indicators as to which are unknown
     parameters, covariates, factor variables, and functions.

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

     fmobj(z, envir=parent.frame())

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

       z: A model formula beginning with ~, either in Wilkinson and
          Rogers notation or containing unknown parameters.

   envir: The environment in which the formula is to be interpreted.

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

     A list, of class 'fmobj', containing a character vector
     ('objects') with the names of the objects used in a formula, and
     logical vectors indicating which are unknown parameters
     ('parameters'), covariates ('covariates'), factor variables
     ('factors'), and functions ('functions').

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

     J.K. Lindsey

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

     'finterp'

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

     x1 <- rpois(20,2)
     x2 <- rnorm(20)
     x3 <- gl(2,10)
     #
     # W&R formula
     fmobj(~x1+x2+x3)
     #
     # formula with unknowns
     fmobj(~b0+b1*x1+b2*x2)
     #
     # nonlinear formulae with unknowns
     # log link
     fmobj(~exp(b0+b1*x1+b2*x2))

