waspr

waspr: an R package for computing Wasserstein barycenters of subset posteriors

https://github.com/joliencremers/waspr

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

waspr: an R package for computing Wasserstein barycenters of subset posteriors

Basic Info
  • Host: GitHub
  • Owner: joliencremers
  • License: gpl-3.0
  • Language: R
  • Default Branch: master
  • Size: 270 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created almost 6 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---



```{r setup, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)
```
# waspr
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/waspr)](https://cran.r-project.org/package=waspr)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3971910.svg)](https://doi.org/10.5281/zenodo.3971910)

The goal of waspr is to compute Wasserstein barycenters of subset posteriors. 

## Installation

The R-package waspr can be installed from CRAN as follows:

```{r gh-installation cran, eval = FALSE}
install.packages("waspr")
```

You can install a beta-version of waspr from github with:

```{r gh-installation, eval = FALSE}
install.packages("devtools")
devtools::install_github("joliencremers/waspr")
```

## Citation

To cite the package ‘waspr’ in publications use:

Jolien Cremers (2020). waspr: Wasserstein Barycenters of Subset Posteriors. R package
  version 1.0.1. https://CRAN.R-project.org/package=waspr
  
or 

Jolien Cremers (2020). waspr: Wasserstein Barycenters of Subset Posteriors. Zenodo, doi: 10.5281/zenodo.3971910


## Example

This is a basic example which shows you how to compute the Wasserstein
barycenter from a set of MCMC outputs for several data subsets. A more extensive
explanation of the usage of the package can be found in the Tutorial vignette.

```{r example}
library(waspr)

wasp(pois_logistic,
     par.names = c("beta_s", "alpha_l", "beta_l",
                   "baseline_sigma", "baseline_mu",
                   "correlation", "sigma_s", "sigma_l"))
```

Owner

  • Login: joliencremers
  • Kind: user

GitHub Events

Total
Last Year

Packages

  • Total packages: 1
  • Total downloads:
    • cran 203 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: waspr

Wasserstein Barycenters of Subset Posteriors

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 203 Last month
Rankings
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 51.3%
Downloads: 88.6%
Maintainers (1)
Last synced: 11 months ago