get_z_hubs | R Documentation |
Get most important hubs for each Z factor
get_z_hubs(fa, hubs_per_factor = 10, factors = 1:fa$rank)
get_y_hubs(fa, hubs_per_factor = 10, factors = 1:fa$rank)
fa |
A |
hubs_per_factor |
The number of important nodes to get per
latent factor. Defaults to |
factors |
The specific columns to index into. The most reliable option here is to index with an integer vector of column indices, but you could also use a character vector if columns have been named. By default returns all factors/singular vectors. |
A tibble::tibble()
where each row corresponds to a single
hub, and three columns:
id
: Node id of hub node
factor
: Which factor that node is a hub for. Nodes can be hubs
of multiple factors.
loading
: The actual value of the hubs factor loading for that factor.
get_y_hubs()
: Get most important hubs for each Y factor
data(enron, package = "igraphdata")
fa <- vsp(enron, rank = 30)
fa
get_z_hubs(fa)
get_y_hubs(fa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.