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
vspxEither a graph adjacency matrix, igraph::igraph or tidygraph::tbl_graph. If
xis a matrix or Matrix::Matrix thenx[i, j]should correspond to the edge going from nodeito nodej.rankThe number of factors to calculate.