Learn R Programming

NPflow (version 0.13.5)

NuMatParC: C++ implementation of similarity matrix computation using pre-computed distances

Description

C++ implementation of similarity matrix computation using pre-computed distances

Usage

NuMatParC(c, d)

Arguments

c

an MCMC partitions of length n.

d

a symmetric n x n matrix containing distances between each group distributions.

Author

Boris Hejblum, Chariff Alkhassim

Examples

Run this code
c <- c(1,1,2,3,2,3)
d <- matrix(runif(length(c)^2),length(c))
NuMatParC(c,d)


Run the code above in your browser using DataLab