Something went wrong. Try again.
spatially-constrained clustering in R
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394# Generated by using Rcpp::compileAttributes() -> do not edit by hand# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' rcpp_alk#'#' Full-order average linkage cluster redcap algorithm#'#' @noRdrcpp_alk <- function(gr, shortest, quiet) { .Call(`_spatialcluster_rcpp_alk`, gr, shortest, quiet)}
#' clk_step#'#' @param ei The i'th edge of the full sorted list of edge weights#' @noRdNULL
#' rcpp_clk#'#' Full-order complete linkage cluster redcap algorithm#'#' @noRdrcpp_clk <- function(gr_full, gr, shortest, quiet) { .Call(`_spatialcluster_rcpp_clk`, gr_full, gr, shortest, quiet)}
#' rcpp_cut_tree#'#' Cut tree into specified number of clusters by minimising internal cluster#' variance.#'#' @param tree tree to be processed#'#' @return Vector of cluster IDs for each tree edge#' @noRdrcpp_cut_tree <- function(tree, ncl, shortest, quiet) { .Call(`_spatialcluster_rcpp_cut_tree`, tree, ncl, shortest, quiet)}
#' step#'#' All edges are initially in their own clusters. This merges edge#i with the#' next closest edge#'#' @param ei The i'th edge of the sorted list of NN edge weights#' @noRdNULL
#' fill_cl_edges#'#' Fill (arma) matrix of strongest/shortest connections between all clusters#' used to construct the hierarchical relationships#' @noRdNULL
#' rcpp_full_initial#'#' Initial allocation for full clustering#'#' @noRdrcpp_full_initial <- function(gr, shortest) { .Call(`_spatialcluster_rcpp_full_initial`, gr, shortest)}
#' rcpp_full_merge#'#' Merge clusters generated by rcpp_full_initial to full hierarchy of all#' possible merges.#'#' @noRdrcpp_full_merge <- function(gr, linkage, shortest) { .Call(`_spatialcluster_rcpp_full_merge`, gr, linkage, shortest)}
#' rcpp_mst#'#' Minimum spanning tree#'#' @noRdrcpp_mst <- function(input) { .Call(`_spatialcluster_rcpp_mst`, input)}
#' rcpp_slk#'#' Full-order single linkage cluster redcap algorithm#'#' @noRdrcpp_slk <- function(gr_full, gr, shortest, quiet) { .Call(`_spatialcluster_rcpp_slk`, gr_full, gr, shortest, quiet)}