title: How to change size of regression line in panel.abline in Lattice?
body: <p>Ok, I've been looking for a function that helps me change the size of my regression line in xyplot. I tried <code>panel.abline(reg = coef, size = 2)</code> but it doesn't work.</p>
  
  <p>Hear is my code,</p>
  
  <pre><code>Plot.col &lt;- brewer.pal(8,"Set1")[8][cut(Std.Change, c(-2.5,2.5), label = FALSE)]
  Plot.ord &lt;- rev(order(Std.Change))
  
  coef &lt;- coef(lm(Std.ModernC ~ Std.Change, data = Std.DataReg))
  xyplot(Std.ModernC ~ Std.Change, data = Std.DataReg[Plot.ord, ], type = c("p", "g"), col = "blue",pch = 21, fill = Plot.col[Plot.ord], cex = 1.3,panel = function(...) {
    panel.xyplot(...)
    panel.abline(reg = coef, col = "blue")})
  </code></pre>
  
  <p>In ggplot, it is very easy to change for the size of regression line, by just setting <code>geom_abline(size = 2)</code></p>
  
  <p>I'm still learning lattice, and I don't know if there's a function for that, or whatsoever.</p>
  
  <p>Any help is much appreciated.</p>