Add Z factor loadings to node table of tidygraph
Usage
bind_varimax_z(graph, fa, ...)
bind_varimax_y(graph, fa, ...)
bind_svd_u(graph, fa, ...)
bind_svd_v(graph, fa, ...)
Arguments
- graph
A tidygraph::tbl_graph object.
- fa
Optionally, a vsp object to extract varimax loadings from. If you do not passed a vsp object, one will be created.
- ...
Arguments passed on to
vsp
x
Either a graph adjacency matrix, igraph::igraph or tidygraph::tbl_graph. If
x
is a matrix or Matrix::Matrix thenx[i, j]
should correspond to the edge going from nodei
to nodej
.rank
The number of factors to calculate.