Skip to content

Matrix #27

Description

@lalagom

Does the matrix always has to be square? I have this recurrent error when simulating extinctions:

web <- as.network(mat, bipartite = TRUE, directed = FALSE,

  •               loops = FALSE,matrix.type = "incidence")
    

sp_1 <- SimulateExtinctions(Network = web, Order = 1:5,

  •      Method = "Ordered", IS=0.7, NetworkType = "Mutualistic") [[1]]
    

Error in graph.adjacency.dense(adjmatrix, mode = mode, weighted = weighted, :
Adjacency matrices must be square.

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