get_svd_u: Get left singular vectors in a tibble

View source: R/accessors.R

get_svd_uR Documentation

Get left singular vectors in a tibble

Description

Get left singular vectors in a tibble

Usage

get_svd_u(fa, factors = 1:fa$rank)

get_svd_v(fa, factors = 1:fa$rank)

get_varimax_z(fa, factors = 1:fa$rank)

get_varimax_y(fa, factors = 1:fa$rank)

Arguments

fa

A vsp_fa() object.

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.

Value

A tibble::tibble() with one row for each node, and one column containing each of the requested factor or singular vector, plus an additional id column.

Functions

  • get_svd_v(): Get right singular vectors in a tibble

  • get_varimax_z(): Get varimax Y factors in a tibble

  • get_varimax_y(): Get varimax Z factors in a tibble

Examples


data(enron, package = "igraphdata")

fa <- vsp(enron, rank = 30)
fa

get_svd_u(fa)
get_svd_v(fa)

get_varimax_z(fa)
get_varimax_y(fa)


RoheLab/vsp documentation built on Nov. 6, 2024, 10:08 p.m.