search for: xdata00

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

2004 Feb 08
2
parsing numbers from a string
...sets from certain simulations I did and now I want to plot the results nicely. I don't know anything about the size of the x and y values in advance. Plotting 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...