Skip to content

VBsparsePCA

0.1.0

The Variational Bayesian Method for Sparse PCA

1packages depend
10.2Kdownloads / year
test coverage
9/13checks pass

Overview

About
Maintained by Bo (Yu-Chien) NingFirst published 2021-02-121 releasesCRAN page ↗

Contains functions for a variational Bayesian method for sparse PCA proposed by Ning (2020) arXiv:2102.00305. There are two algorithms: the PX-CAVI algorithm (if assuming the loadings matrix is jointly row-sparse) and the batch PX-CAVI algorithm (if without this assumption). The outputs of the main function, VBsparsePCA(), include the mean and covariance of the loadings matrix, the score functions, the variable selection results, and the estimated variance of the random noise.

Install

Health

CRAN checks
4NOTE9OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
4
Dependencies · direct
Check history
  • NOTE2026-03-10
    7 OK · 7 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
25%

Downloads

10.2K
CRAN downloads in the past year
Rank #13,212 · ~28/day · ~848/mo
Daily download trend is not available in this view yet.
17530 days
75590 days
10.2K1 year
Compare downloads with other packages →
Also on102 r2u2 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (4)
MASSpracmastatsutils
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (1)
no longer listed · 0.1.0
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2021-02-12
Total releases
1 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 3.6.0
Download size
8.2 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("VBsparsePCA")

CRAN DOI

https://doi.org/10.32614/CRAN.package.VBsparsePCA

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatoryVBsparsePCA,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {VBsparsePCA} version 0.1.0},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/VBsparsePCA},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for VBsparsePCA version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/VBsparsePCA

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for VBsparsePCA version 0.1.0
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/VBsparsePCA
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/VBsparsePCA.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy