Skip to content
Prev 275433 / 398506 Next

Create a matrix with increment and element with zero subscript

Hi Deana,

No, R does not deal with zero subscripts.  Could it be done?  Of
course.  The simplest approach is: 0 + 1 = 1, which is the R
equivalent.  You need to adjust your code to go, for example, from 1
to 30 instead of 0 to 29.

Cheers,

Josh

On Mon, Oct 24, 2011 at 4:23 PM, Md Desa, Zairul Nor Deana Binti
<zndeana at ku.edu> wrote: