edgeProb object generator

generate_edgeProb(Adj, samp.effort, mode, Adj.subfun = NULL)

Arguments

Adj

integer matrix, the adjacency matrix (see simunet())

samp.effort

integer scalar, the sampling effort (see simunet())

mode

character scalar, the network igraph's mode (see simunet())

Adj.subfun

function, the matrix subsetting function relevant for the adjacency matrix mode (see simunet())

Value

an edgeProb object, i.e. a list containing:

  • P: the edge presence probability matrix

  • Adj: the inputted Adj

  • samp.effort: the inputted samp.effort

  • mode: the inputted mode

  • Adj.subfun: the inputted Adj.subfun