search for: yminus

Displaying 6 results from an estimated 6 matches for "yminus".

Did you mean: minus
2013 Jan 10
2
Titles - main and subtitle won't plot with errbar
...itles to update automatically according to my excel column headings and paste function. Example code.... require(Hmisc) data1<-array(sample(1:100,35),dim=c(5,7)) data1[,1]<-1:5 sd=apply(data1[,2:7],1,sd) mean=rowMeans(data1[,2:7]) #the base plot works errbar(x=data1[,1],y=mean,yplus=mean+sd,yminus=mean-sd) #titles are shown correctly using plot plot(x=data1[,1],y=mean,ylab="value",xlab="time",main="Title",sub="subtitle") #the ylab and xlab update correctly, however main and sub don't? errbar(x=data1[,1],y=mean,yplus=mean+sd,yminus=mean-sd,ylab=&quo...
2011 Apr 29
2
abline outside of plot region
Hi R people. I ran into this problem: I created a plot with errbars, like this: > errbar(x=c(1,2,3,4), y=c(2,1,3,3), yminus=c(1.5,0.5,2.5,2.5), yplus=c(2.5,1.5,3.5,3.5)) Next, I wanted to accentuate some x value with an abline, like this: > abline(v=2) In one of my R sessions (which admittedly I have had open for quite a while now), the abline draws outside of the plotting region of errbars (till the edge of my...
2010 Apr 21
1
Adding error bars to xyplot()
...3, 2.31, 1.57) #standard errors #Plot the graph xyplot(means ~ time, groups=group, type="o", lwd=3, main="Change Over Time by Condition", scale=list(cex=2), xlab="Test Number", auto.key=T) #first attempt require(Hmisc) errbar(x = time, y = means, yplus = means + SE, yminus = means - SE, add=T, col=c("blue", "hotpink")) #second attempt, same result require(gplots) plotCI(x = time, y = means, uiw = SE, add=T) Thanks in advance! - Jon -- Jon Zadra Department of Psychology University of Virginia P.O. Box 400400 Charlottesville VA 22904 (434) 98...
2010 Apr 19
2
plotting RR, 95% CI as table and figure in same plot
...), x = 1, y = 1:6) plot(0, type = "n", xlim=c(0,2), ylim=c(1,6), axes = FALSE, ylab=NULL, xlab=NULL) text(paste(rr[,1], " [", rr[,2], ", ", rr[,3], "]", sep = ""), x = 1, y = 1:6) errbar(x = factor(row.names(rr)), y = rr[,1], yplus = rr[,3], yminus = rr[,2]) abline(v = 1, lty =2) -- Dave Atkins, PhD Research Associate Professor Department of Psychiatry and Behavioral Science University of Washington datkins at u.washington.edu Center for the Study of Health and Risk Behaviors (CSHRB) 1100 NE 45th Street, Suite 300 Seattle, WA 98105...
2013 Jun 12
2
survreg with measurement uncertainties
Hello, I have some measurements that I am trying to fit a model to. I also have uncertainties for these measurements. Some of the measurements are not well detected, so I'd like to use a limit instead of the actual measurement. (I am always dealing with upper limits, i.e. left censored data.) I have successfully run survreg using the combination of well detected measurements and limits,
2009 Dec 03
5
Bar Plots: Error Bars
Hey Everyone, I'm pretty new at R and wanted to try and make some graphs with dummy data before using it to analyze my own. I successfully made a bar graph and error bars, but I can't figure out how to align them properly (currently they are not centered on the bars and some of them aren't even close). Here's the code that I'm using: > marks <- sample(4:10, size=50,