freeny package:datasets R Documentation _F_r_e_e_n_y'_s _R_e_v_e_n_u_e _D_a_t_a _D_e_s_c_r_i_p_t_i_o_n: Freeny's data on quarterly revenue and explanatory variables. _U_s_a_g_e: freeny freeny.x freeny.y _F_o_r_m_a_t: There are three 'freeny' data sets. 'freeny.y' is a time series with 39 observations on quarterly revenue from (1962,2Q) to (1971,4Q). 'freeny.x' is a matrix of explanatory variables. The columns are 'freeny.y' lagged 1 quarter, price index, income level, and market potential. Finally, 'freeny' is a data frame with variables 'y', 'lag.quarterly.revenue', 'price.index', 'income.level', and 'market.potential' obtained from the above two data objects. _S_o_u_r_c_e: A. E. Freeny (1977) _A Portable Linear Regression Package with Test Programs_. Bell Laboratories memorandum. _R_e_f_e_r_e_n_c_e_s: Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S Language_. Wadsworth & Brooks/Cole. _E_x_a_m_p_l_e_s: require(stats); require(graphics) summary(freeny) pairs(freeny, main = "freeny data") # gives warning: freeny$y has class "ts" summary(fm1 <- lm(y ~ ., data = freeny)) opar <- par(mfrow = c(2, 2), oma = c(0, 0, 1.1, 0), mar = c(4.1, 4.1, 2.1, 1.1)) plot(fm1) par(opar)