Learn R Programming

Rwclust (version 0.1.0)

compute_similarities: Apply similarity function over edges of graph

Description

Apply similarity function over edges of graph

Usage

compute_similarities(edgelist, mat, similarity, ...)

Value

a vector containing updated weights

Arguments

edgelist

3-column dataframe

mat

a matrix

similarity

the similarity function to apply

...

other parameters to pass to the similarity function