plot.augPred package:nlme R Documentation _P_l_o_t _a_n _a_u_g_P_r_e_d _O_b_j_e_c_t _D_e_s_c_r_i_p_t_i_o_n: A Trellis 'xyplot' of predictions versus the primary covariate is generated, with a different panel for each value of the grouping factor. Predicted values are joined by lines, with different line types (colors) being used for each level of grouping. Original observations are represented by circles. _U_s_a_g_e: ## S3 method for class 'augPred': plot(x, key, grid, ...) _A_r_g_u_m_e_n_t_s: x: an object of class 'augPred'. key: an optional logical value, or list. If 'TRUE', a legend is included at the top of the plot indicating which symbols (colors) correspond to which prediction levels. If 'FALSE', no legend is included. If given as a list, 'key' is passed down as an argument to the 'trellis' function generating the plots ('xyplot'). Defaults to 'TRUE'. grid: an optional logical value indicating whether a grid should be added to plot. Default is 'FALSE'. ...: optional arguments passed down to the 'trellis' function generating the plots. _V_a_l_u_e: A Trellis plot of predictions versus the primary covariate, with panels determined by the grouping factor. _A_u_t_h_o_r(_s): Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates bates@stat.wisc.edu _S_e_e _A_l_s_o: 'augPred', 'xyplot' _E_x_a_m_p_l_e_s: fm1 <- lme(Orthodont) plot(augPred(fm1, level = 0:1, length.out = 2))