Skip to content

Compliance with Matrix package #86

@ebridge2

Description

@ebridge2

Hi,

I am having difficulty using the sparse matrices supplied by the Matrix package with the reshape package. Example, using a dgCMatrix:

require(Matrix)
(m <- Matrix(c(0,0,2:0), 3,5))
str(m)
m[,1]
melt(m)

This is problematic as igraph by default in the as_adj method produces dgCMatrix objects, making it difficult to use with the reshape2 package without internal conversion scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions