Formaldehyde package:datasets R Documentation _D_e_t_e_r_m_i_n_a_t_i_o_n _o_f _F_o_r_m_a_l_d_e_h_y_d_e _D_e_s_c_r_i_p_t_i_o_n: These data are from a chemical experiment to prepare a standard curve for the determination of formaldehyde by the addition of chromatropic acid and concentrated sulpuric acid and the reading of the resulting purple color on a spectrophotometer. _U_s_a_g_e: Formaldehyde _F_o_r_m_a_t: A data frame with 6 observations on 2 variables. [,1] carb numeric Carbohydrate (ml) [,2] optden numeric Optical Density _S_o_u_r_c_e: Bennett, N. A. and N. L. Franklin (1954) _Statistical Analysis in Chemistry and the Chemical Industry_. New York: Wiley. _R_e_f_e_r_e_n_c_e_s: McNeil, D. R. (1977) _Interactive Data Analysis._ New York: Wiley. _E_x_a_m_p_l_e_s: require(stats); require(graphics) plot(optden ~ carb, data = Formaldehyde, xlab = "Carbohydrate (ml)", ylab = "Optical Density", main = "Formaldehyde data", col = 4, las = 1) abline(fm1 <- lm(optden ~ carb, data = Formaldehyde)) summary(fm1) opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0)) plot(fm1) par(opar)