Re: [R] add median/mean line to stri-plot in lattice

2014-01-26 Thread Duncan Mackay
xlim = c(0,3), col=c("red","black"), par.settings = list(strip.background=list(col="white"), superpose.symbol = list(col = c("red","black"), pch = c(19,19))), par.s

Re: [R] add median/mean line to stri-plot in lattice

2014-01-25 Thread Duncan Mackay
ist(x = list(at = 1:5, labels = c("Normal","Borderline", .))), Regards Duncan From: Luigi Marongiu [mailto:marongiu.lu...@gmail.com] Sent: Saturday, 25 January 2014 00:45 To: Duncan Mackay Subject: Re: [R] add median/mean line to stri

Re: [R] add median/mean line to stri-plot in lattice

2014-01-23 Thread Duncan Mackay
panel.abline(h = datmeA[datmeA[,2]== levels(datmeA[,2])[pnl],"ratio"], col = c("red","black"), lty=3) panel.stripplot(x,y, ...) } ) stripplot(ratio ~ TB|stimulus, dat, hor=F, as.table = TRUE,

[R] add median/mean line to stri-plot in lattice

2014-01-23 Thread Luigi Marongiu
dear all, I set a series of variable subdivided in classes (there are 7 in here, defined by the clause 'levels'), and I am showing the results in strip chart using the package 'lattice'. Whitin each class the samples are further subdivided in "active" (A) and "latent" (L). The function I have writt