Displaying 1 result from an estimated 1 matches for "currentmatrix".
2009 Jan 20
1
Creating a Sparse Matrix from a Sparse Vector
...tion, I got the error "Error in
as.vector(x, mode) : cannot coerce type 'S4' to vector of type 'any' Error
in as.matrix.csc(as.matrix.csr(x)) : error in evaluating the argument 'x'
in selecting a method for function 'as.matrix.csc'" :
as.matrix.csc(as(rep(currentMatrix[pivitRow,],times=nrow
(currentMatrix)),"sparseVector"),nrow=nrow(currentMatrix),ncol=ncol
(currentMatrix))
Are there any other ways to accomplish this?],
Thanks,
Brian
Notice:
This communication is an electronic communication within the meaning
of the Electronic Communications Priv...