Displaying 1 result from an estimated 1 matches for "white3".
Did you mean:
white
2009 Aug 26
1
Problem with standard generic methods in Matrix package
...-
I have this outputs:
[1] "dgTMatrix"
Erreur dans y[1L + 0L:(m - 1L) * (n + 1L)] <- x :
types (de S4 a double) incompatibles dans l'ajustement d'affectation de
type
> traceback()
3: diag(adjacents)
2: as.vector(diag(adjacents))
1: getAdjacentAsSparseMatrix(white3)
The same thing happens with the method rowSums(), colnames() and
rownames(). In brief, it looks as if the generic functions were called,
and not the overloaded ones. I can't figure out how to fix that, and will
be interested in any pointers.
Best,
Sylvain