Skip to contents

Estimation and estimation helpers

screeplot(<vsp_fa>)
Create a screeplot from a factor analysis object
vsp()
Semi-Parametric Factor Analysis via Vintage Sparse PCA
vsp(<svd_like>)
Perform varimax rotation on a low rank matrix factorization
vsp_fa()
Create a vintage sparse factor analysis object
set_z_factor_names() set_y_factor_names()
Give the dimensions of Z factors informative names
bff()
Find features most associated with cluster membership

Turn latent factors into nice tibbles

get_svd_u() get_svd_v() get_varimax_z() get_varimax_y()
Get left singular vectors in a tibble
get_z_hubs() get_y_hubs()
Get most important hubs for each Z factor
bind_varimax_z() bind_varimax_y() bind_svd_u() bind_svd_v()
Add Z factor loadings to node table of tidygraph

Plotting

plot_cumulative_curves()
Plot cumulative participation curves.
plot_ipr_curves()
Plot IPR curves.
plot_ipr_pairs()
Plot pairs of inverse participation ratios for singular vectors
plot_mixing_matrix()
Plot the mixing matrix B
plot_varimax_z_pairs() plot_varimax_y_pairs() plot_svd_u() plot_svd_v()
Create a pairs plot of select Y factors
screeplot(<vsp_fa>)
Create a screeplot from a factor analysis object

Localization heuristics

ipr()
Calculate the inverse participation ratio (IPR) for a vector.
iprs()
Calculate IPR for all singular vectors in a list.
cumulative_participation()
Calculate cumulative participation of a set of singular vectors.
localization_statistics()
Compute localization statistics across various regularization parameters.