vsp.svd_like | R Documentation |
Perform varimax rotation on a low rank matrix factorization
## S3 method for class 'svd_like'
vsp(
x,
rank,
...,
centerer = NULL,
scaler = NULL,
recenter = FALSE,
renormalize = FALSE,
kaiser_normalize_u = FALSE,
kaiser_normalize_v = FALSE,
rownames = NULL,
colnames = NULL,
match_columns = TRUE
)
x |
Either a graph adjacency matrix, igraph::igraph or
tidygraph::tbl_graph. If |
rank |
The number of factors to calculate. |
... |
These dots are for future extensions and must be empty. |
centerer |
TODO |
scaler |
TODO |
recenter |
Should the varimax factors be re-centered around the
original factor means? Only used when |
renormalize |
Should the regularized graph laplacian be used instead of the
raw adjacency matrix? Defaults to |
kaiser_normalize_u |
Whether or not to use Kaiser normalization
when rotating the left singular vectors |
kaiser_normalize_v |
Whether or not to use Kaiser normalization
when rotating the right singular vectors |
rownames |
Character vector of row names of |
colnames |
Character vector of column names of |
match_columns |
Should the columns of |
library(LRMF3)
library(RSpectra)
s <- svds(ml100k, k = 2)
mf <- as_svd_like(s)
fa <- vsp(mf, rank = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.