Hi,
              Basic question with basic code.   I am simulating a set of 
'y' values for a standard 'x' value measurement. So here the error bars 
are very long because the 
number of samples are very small. Is that correct ? I am plotting the mean 
of 'y' on the 'y' axis. 


Thanks,
Mohan 

x <- data.frame(c(5,10,15,20,25,30,35,40,50,60))
 colnames(x) <- c("x")

 y <- sample(5:60,10,replace=T)
 y1 <- sample(5:60,10,replace=T)
 y2 <- sample(5:60,10,replace=T)
 y3 <- sample(5:60,10,replace=T)
 y4 <- sample(5:60,10,replace=T)

 z <- data.frame(cbind(x,y,y1,y2,y3,y4))
 z$mean <- apply(z[,c(2,3,4,5,6)],2,mean)
 z$sd <- apply(z[,c(2,3,4,5,6)],2,sd)
 z$se <- z$sd / sqrt(5)


This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.  If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit us at http://www.polarisFT.com

	[[alternative HTML version deleted]]

