quadline                 package:MPV                 R Documentation

_Q_u_a_d_r_a_t_i_c _O_v_e_r_l_a_y

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

     Overlays a quadratic curve to a fitted quadratic model.

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

     quadline(lm.obj, ...)

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

  lm.obj: A 'lm' object (a quadratic fit) 

     ...: Other arguments to the 'lines' function; e.g. 'col'

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

     The function superimposes a quadratic curve onto an existing
     scatterplot.

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

     W.J. Braun

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

     'lm'

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

     data(p4.18)
     attach(p4.18)
     y.lm <- lm(y ~ x1 + I(x1^2))
     plot(x1, y)
     quadline(y.lm)
     detach(p4.18)

