Skip to content
Prev 275434 / 398506 Next

Create a matrix with increment and element with zero subscript

On Oct 24, 2011, at 7:23 PM, Md Desa, Zairul Nor Deana Binti wrote:

            
I don't. (I seem to remember the Matrix package allows such  
shenanigans.)

Why don't you instead augment b[,] with a top column of initial  
values, using rbind() and then iterate from 2:(ncat-2). (Do note the  
parentheses and if you do not know why, then consult ?Syntax for  
operatr precendence.)