Re: [R] Gap in solution

2011-10-28 Thread David Winsemius
On Oct 28, 2011, at 4:08 AM, Samir Benzerfa wrote: Hi David, In the general case, there is still a gap in your solution >sum( tbl["1", 2:ncol(tbl)] ). This solution refers to a specific column number (here: column number 2) and not to the actual length of the run, doesn't it? That is

[R] Gap in solution

2011-10-28 Thread Samir Benzerfa
Hi David, In the general case, there is still a gap in your solution >sum( tbl["1", 2:ncol(tbl)] ). This solution refers to a specific column number (here: column number 2) and not to the actual length of the run, doesn't it? That is, in this simple example the column number 2 actually correspo