Re: [R] OT UNIX grep question

2006-08-10 Thread Chris wallace
On 10/08/06, Rolf Turner [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: grep '^dog$' /usr/share/dict/words or (simpler, in my view) grep -w dog /usr/share/dict/words Chris. [[alternative HTML version deleted]]

Re: [R] OT UNIX grep question

2006-08-10 Thread Chris wallace
On 10/08/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Selon Chris wallace [EMAIL PROTECTED]: grep -w dog /usr/share/dict/words Well, for the record it's does not work with my settings. Maybe *Mr Turner* can give you a lesson as well. Sorry I'm just in the mood

Re: [R] Spacing and margins in plot

2005-09-01 Thread Chris Wallace
Earl F. Glynn [EMAIL PROTECTED] writes: AFAIK, the only way to get the axis label closer to the axis is to suppress the actual axis labels and use the mtext command to display alternative text where you want it. For example, look at the blue text in Figure 2B (at the above link) that is

Re: [R] converting stata's by syntax to R

2005-08-02 Thread Chris Wallace
Chris Wallace [EMAIL PROTECTED] writes: I am struggling with migrating some stata code to R Thanks to all who replied. It was very helpful to see a combination of more direct stata-R translations and more R-ish code. which.max() solves my problem this time, but learning about split

[R] converting stata's by syntax to R

2005-08-01 Thread Chris Wallace
I am struggling with migrating some stata code to R. I have a data frame containing, sometimes, repeat observations (rows) of the same family. I want to keep only one observation per family, selecting that observation according to some other variable. An example data frame is: # construct

[R] simulate dependent probabilities

2004-05-28 Thread Chris Wallace
I need to simulate from a random process and am not sure how to go about it. The process is the probability of an event occuring between a pair of points on a line. (This probability is between 0 and 0.5). I have estimates of these probabilities for a series of points, their standard errors and