midsize                package:UsingR                R Documentation

_P_r_i_c_e _o_f _n_e_w _a_n_d _u_s_e_d _o_f _t_h_r_e_e _m_i_d-_s_i_z_e_d _c_a_r_s

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

     New and used prices of three popular mid-sized cars.

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

     data(midsize)

_F_o_r_m_a_t:

     A data frame with 15 observations on the following 4 variables.

     _Y_e_a_r 2004 is new car price, others are for used car

     _A_c_c_o_r_d Honda Accord

     _C_a_m_r_y Toyota Camry

     _T_a_u_r_u_s Ford Taurus

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

     The value of a car depreciates over time. This data gives the
     price of a new car and values of similar models for previous years
     as reported by <URL: http://www.edmunds.com>.

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

     data(midsize)
     plot(Accord ~ I(2004-Year), data = midsize)

