search for: trellisplot

Displaying 1 result from an estimated 1 matches for "trellisplot".

2007 Sep 28
1
errorbar il lattice plot
...the error bar function inside my code as if it were a panel function, but it then sits there quite unused. I am not even clear how what data object to put the standard errors for the thing to work... My code (the version that at least draws a plot): xyplot(inbreeding~generations|breeds, data = trellisplot, type = 'l', layout = c(2,5), col = 'black', lwd = 3, errbar = function(x, y, err, down = T, width = 0.005, lwd = 1, plot = T, colour="black") { up <- y + err dn <- y - err x.range <- max(x) - min(x) wid.lf <- x - (x.range * width) wid.rt <-...