Displaying 1 result from an estimated 1 matches for "matrixassign".
1999 Mar 02
0
[R] zero-offset matrices (PR#132)
..., i, j, value)
> {
> if(!missing(i) && is.numeric(i)) i <- i+1
> if(!missing(j) && is.numeric(j)) j <- j+1
> NextMethod("[<-")
> }
> works in S but not in R. (Which I think is a bug.) I next tried
Yup, there's a bug in there somewhere, MatrixAssign ends up getting
called with the symbol "value" where the actual replacement value
should have been.
Of course, the whole point becomes a bit moot when one considers
*removing* rows and columns from a matrix...
To tickle the bug:
"[<-.zoffset" <- function(x, i, j, value...