Learn R Programming

Rwclust

The goal of Rwclust is an implementation of the random walk clustering algorithm for weighted graphs by Harel and Koren.

Installation

You can install the latest version from CRAN with:

install.packages("Rwclust")

Alternatively, you can install the development version from GitHub with:

install.packages("devtools")
devtools::install_github("csprock/Rwclust")

Example

For examples, see the Basic Usage vignette:

vignette("basic_usage", "Rwclust")

Copy Link

Version

Install

install.packages('Rwclust')

Monthly Downloads

20

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Carson Sprock

Last Published

July 24th, 2022

Functions in Rwclust (0.1.0)

new_rwclust

rwclust class constructor
example2

Example Graph 2
plot.rwclust

Generic plotting for rwclust object
run_main_loop

Execute main algorithm loop
example1

Example Graph 1
update_weights

Update edge weights
rwclust

Sharpen the edge weights of a weighted graph.
create_weight_matrix

Construct sparse matrix from weighted edgelist
apply_similarity

Apply similarity function to rows of a matrix
adjacency

Generic helper for extracting adjacency matrix from rwclust object.
compute_similarities

Apply similarity function over edges of graph
compute_transition_matrix

Compute transition matrix