spec_repr {nett}R Documentation

Spectral Representation

Description

Provides a spectral representation of the network (with regularization) based on the adjacency or Laplacian matrices

Usage

spec_repr(A, K, type = "lap", tau = 0.25, ignore_first_col = FALSE)

Arguments

A

Adjacency matrix (n x n)

K

Number of communities

type

("lap" | "adj" | "adj2") Whether to use Laplacian or adjacency-based spectral clustering

tau

Regularization parameter for the Laplacian

ignore_first_col

whether to ignore the first eigen vector

Value

The n x K matrix resulting from a spectral embedding of the network into R^K


[Package nett version 1.0.0 Index]