cran / NetworkExtinction

:exclamation: This is a read-only mirror of the CRAN R package repository. NetworkExtinction — Extinction Simulation in Ecological Networks. Homepage: https://derek-corcoran-barrios.github.io/NetworkExtinction/
0 stars 0 forks source link

Simulate Extintions #1

Open lalagom opened 3 months ago

lalagom commented 3 months ago

I am trying to simulate the extinction of species from a pollination network. However, I keep having the error that the adjacency matrix should be square in order to do the analysis. Can you help me please?

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

  • loops = FALSE, matrix.type = "incidence") ex_1 <- SimulateExtinctions(Network = net, Order = 1:5, NetworkType = "Mutualistic",
  • Rewiring = FALSE, IS=0.7)

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

Thank you!

gaborcsardi commented 3 months ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!