Construct an epsilon-network from a distance matrix.
net_enn(
D,
eps,
treat_NA_as = 1,
is_dist_symetric = TRUE,
weighted = FALSE,
invert_dist_as_weight = TRUE,
add_col_rownames = TRUE
)Distance matrix
the threshold value to be considered a link. Only values lower or equal to epsilon become 1.
A numeric value, usually 1, that represent NA values in the distance matrix
Boolean, TRUE (default) if dist is symmetric
Boolean, TRUE will create a weighted network
Boolean, if weighted == TRUE, then the weights become 1 - distance. This is the default behavior since most network measures interpret higher weights as stronger connection.
Boolean. If TRUE (default), it uses the column and row names from dist matrix as node labels.
a igraph network