mat2vec.ix

0th

Percentile

Auxiliary function, gives mask for matrix for directed, undirected etc.

Auxiliary function, gives mask for matrix for directed, undirected etc.

Usage
mat2vec.ix(mat, directed, selfloops)
Arguments
mat

matrix

directed

a boolean argument specifying whether object is directed or not.

selfloops

a boolean argument specifying whether the model should incorporate selfloops.

Value

a boolean matrix that can be used to mask adjacency matrices.

Aliases
  • mat2vec.ix
Examples
# NOT RUN {
data('adj_karate')
mat2vec.ix(adj_karate, FALSE, FALSE)

# }
Documentation reproduced from package ghypernet, version 1.0.0, License: AGPL-3

Community examples

Looks like there are no examples yet.