Package: vsp 0.1.2
vsp: Vintage Sparse PCA for Semi-Parametric Factor Analysis
Provides fast spectral estimation of latent factors in random dot product graphs using the vsp estimator. Under mild assumptions, the vsp estimator is consistent for (degree-corrected) stochastic blockmodels, (degree-corrected) mixed-membership stochastic blockmodels, and degree-corrected overlapping stochastic blockmodels.
Authors:
vsp_0.1.2.tar.gz
vsp_0.1.2.zip(r-4.5)vsp_0.1.2.zip(r-4.4)vsp_0.1.2.zip(r-4.3)
vsp_0.1.2.tgz(r-4.4-any)vsp_0.1.2.tgz(r-4.3-any)
vsp_0.1.2.tar.gz(r-4.5-noble)vsp_0.1.2.tar.gz(r-4.4-noble)
vsp_0.1.2.tgz(r-4.4-emscripten)vsp_0.1.2.tgz(r-4.3-emscripten)
vsp.pdf |vsp.html✨
vsp/json (API)
NEWS
# Install 'vsp' in R: |
install.packages('vsp', repos = c('https://rohelab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rohelab/vsp/issues
Last updated 19 days agofrom:ae4edddf3c. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 05 2024 |
R-4.5-win | OK | Nov 05 2024 |
R-4.5-linux | OK | Nov 05 2024 |
R-4.4-win | OK | Nov 05 2024 |
R-4.4-mac | OK | Nov 05 2024 |
R-4.3-win | OK | Nov 05 2024 |
R-4.3-mac | OK | Nov 05 2024 |
Exports:%>%bffbind_svd_ubind_svd_vbind_varimax_ybind_varimax_zget_svd_uget_svd_vget_varimax_yget_varimax_zget_y_hubsget_z_hubsplot_ipr_pairsplot_mixing_matrixplot_svd_uplot_svd_vplot_varimax_y_pairsplot_varimax_z_pairsset_y_factor_namesset_z_factor_namesvsp
Dependencies:cliclueclustercolorspacefansifarverggplot2gluegtableinvertiformsisobandlabelinglatticelifecycleLRMF3magrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcppRcppEigenrlangRSpectrascalessparseLRMatrixtibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Find features most associated with cluster membership | bff |
Add Z factor loadings to node table of tidygraph | bind_svd_u bind_svd_v bind_varimax_y bind_varimax_z |
Get left singular vectors in a tibble | get_svd_u get_svd_v get_varimax_y get_varimax_z |
Get most important hubs for each Z factor | get_y_hubs get_z_hubs |
Plot pairs of inverse participation ratios for singular vectors | plot_ipr_pairs |
Plot the mixing matrix B | plot_mixing_matrix |
Create a pairs plot of select Y factors | plot_svd_u plot_svd_v plot_varimax_y_pairs plot_varimax_z_pairs |
Create a screeplot from a factor analysis object | screeplot.vsp_fa |
Give the dimensions of Z factors informative names | set_y_factor_names set_z_factor_names |
Semi-Parametric Factor Analysis via Vintage Sparse PCA | vsp vsp.default vsp.dgCMatrix vsp.igraph vsp.Matrix vsp.matrix |
Create a vintage sparse factor analysis object | vsp_fa |
Perform varimax rotation on a low rank matrix factorization | vsp.svd_like |