search for: ystdevs00

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

2004 Feb 08
2
parsing numbers from a string
...kage). 1) For this I'm factoring the data (xdata00 varies from 0 to max(xdata00)) xfactor00 = factor(cut(xdata00, breaks = (max(xdata00)/10)*(0:100))) 2) I compute the means of the different levels ymeans00 = tapply(ydata00, xfactor00, mean) 3) I compute the errors of the different levels ystdevs00 = tapply(ydata00, xfactor00, sd) 4) And then I use the errbar function errbar((xlim/20)+(xlim/10)*(0:(length(ymeans00)-1)), ymeans00, ymeans00+ystdevs00, ymeans00-ystdevs00, add=T) My problem is that the x-values that I provide to the errbar are not correct if there are empty parts in my initial...