Displaying 1 result from an estimated 1 matches for "ptidx".
Did you mean:
pidx
2012 Nov 26
3
Plot(x,y) help
...on each plotted point. I was trying to tweak some old codes (was
for a vertical CI lines) into horizontal but not much dice.
Many thanks in advance for your help.
YA
My working codes:
x=c(1,1,1,1.1,1.1,1.1,2,2,2,2.1,2.1,2.1)
y=c(1.73,1.30,2.30, 1.83,1.36,2.45,1.46,1.07,2.00,1.58,1.15,2.17)
ptidx = seq(1,12,by=3)
lciidx = seq(2,12,by=3)
uciidx = seq(3,12,by=3)
plot(x,y, type="n",axes=F, xlab="PR(95% CI)",ylab=" ")
points(x[ptidx],y[ptidx],pch=19,cex=4.5)
points(x[lciidx],y[lciidx],pch="_",cex=4.5)
points(x[uciidx],y[uciidx],pch="_",cex=4.5...