Define a network
a matrix describing the network: either an adjacency (square) or incidence matrix with possibly weighted entries.
character describing the model for the relation between nodes ('bernoulli'
, 'poisson'
, 'gaussian'
, ...). Default is 'bernoulli'
.
Type of the matrix, choice between 'simple' and 'bipartite'
logical: is the network directed or not? Only relevant when type
is 'Simple'
. Default is TRUE
if netMat
is symmetric, FALSE
otherwise
an optional vector of labels for each dimension (in row, in column). Default value = c('row' = row,'col'= col)
a list of matrices with same dimension as mat describing covariates at the edge level. No covariate per Default.
an object SimpleSBM or BipartiteSBM with the informations required to define a future multipartite network