Skip to content

mattpedone/vweights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vweights

The goal of vweights is to compute non-negative weights for cohesion function used to define a law for random partition, that is of Gibbs type.

The implementation has been done in C++ through the use of Rcpp and RcppArmadillo.

Authors: Matteo Pedone, Raffaele Argiento.

Maintainer: Matteo Pedone.

Installation

You can install the development version from GitHub, using the devtools package with:

devtools::install_github("mattpedone/vweights")

NOTE that this package depends on gsl. It has only been tested on a PC running Ubuntu 20.04.2 LTS.

Example

This is a basic example which shows you how to solve a common problem:

library(vweights)
vweights::computev(5, .1, 10.5)

About

Computes weights for NGG measure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published