search for: ymeans00

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

2004 Feb 08
2
parsing numbers from a string
...tting these values is not a problem. However, I want to add errorbars (errbar in the Hmisc package). 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 t...