Re: [R] Help with lattice, regressions and respective lines

2005-10-17 Thread Petr Pikal
@stat.math.ethz.ch Subject:[R] Help with lattice, regressions and respective lines Send reply to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] # Dear R list, # # I'm needing help with lattice, regression and respective lines. My # data

Re: [R] Help with lattice, regressions and respective lines

2005-10-17 Thread Martin Henry H. Stevens
Hi Jose, I am just beginning to plumb the depths of lattice, but perhaps my recent experience can help. I recently figured out (with encouragement from the list) how to plot predicted values from a model into the appropriate panel. I am certain that what I have done can be done better, but

Re: [R] Help with lattice, regressions and respective lines - Correction

2005-10-17 Thread Martin Henry H. Stevens
Hi Jose, I need to make a small correction in my code - mod$data$B works for glm objects, but not lm or aov objects. For those use, mod$model$B. On Oct 17, 2005, at 6:26 AM, Martin Henry H. Stevens wrote: Hi Jose, I am just beginning to plumb the depths of lattice, but perhaps my recent

[R] Help with lattice, regressions and respective lines

2005-10-14 Thread Jose Claudio Faria
# Dear R list, # # I'm needing help with lattice, regression and respective lines. # My data is below: bra = gl(2, 24, label = c('c', 's')) em = rep(gl(3, 8, label = c('po', 'pov', 'ce')), 2) tem = rep(c(0, 0, 30, 30, 60, 60, 90, 90), 6) tem2 = tem^2 r= rep(1:2, 24) y= c(40.58,