Data-Derived Graph Construction Utilities

Constructs data-derived graphs from numerical observations using mutual, shared-neighbor, intersection, geodesic, radius, adaptive-radius, and minimum-spanning-tree completion methods. Provides graph conversion, pruning, diagnostics, spectral embedding, endpoint detection, and path utilities. The implemented graph constructions include methods described by Jarvis and Patrick (1973) , Brito et al. (1997) , Berry and Sauer (2019) , and Gower and Ross (1969) .


dgraphs

dgraphs constructs and analyzes graphs derived from numerical observations. It includes mutual and shared-neighbor graphs, intersection and geodesic nearest-neighbor graphs, radius and adaptive-radius graphs, and minimum-spanning-tree completion. Utilities for conversion, pruning, diagnostics, spectral embedding, endpoints, and paths are also provided.

Installation

Install the released package from CRAN with:

install.packages("dgraphs")

Example

library(dgraphs)

set.seed(1)
x <- matrix(rnorm(80), ncol = 2)
graph <- create.mknn.graph(x, k = 4)

graph$n_edges

For an end-to-end introduction to graph construction, connectivity repair, parameter sequences, conversion, and diagnostics, run:

vignette("data-derived-graph-workflow", package = "dgraphs")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dgraphs")

0.2.0 by Pawel Gajer, a month ago


https://github.com/pgajer/dgraphs


Report a bug at https://github.com/pgajer/dgraphs/issues


Browse source code at https://github.com/cran/dgraphs


Authors: Pawel Gajer [aut, cre] , Sunil Arya [ctb] (ANN library) , David M. Mount [ctb] (ANN library) , University of Maryland [cph] (ANN library) , Yixuan Qiu [ctb, cph] (Spectra library) , Anna Araslanova [ctb, cph] (Spectra LOBPCG solver) , Gael Guennebaud [ctb, cph] (Spectra linear algebra routines) , Jitse Niesen [ctb, cph] (Spectra linear algebra routines) , Netherlands eScience Center [ctb, cph] (Spectra eigensolver routines)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports FNN, igraph, parallel, Rcpp

Suggests knitr, Matrix, rmarkdown, testthat

Linking to Rcpp, RcppEigen

System requirements: C++17


Imported by geosmooth.


See at CRAN