SetWandHfromWHinitials: Set \mathbf{W} matrices and \mathbf{H} matrix from...

View source: R/jrSiCKLSNMF.R

SetWandHfromWHinitialsR Documentation

Set \mathbf{W} matrices and \mathbf{H} matrix from pre-calculated values

Description

Use values calculated in the step to determine number of latent factors in the initial steps for the jrSiCKLSNMF algorithm. If only a subset was calculated, this produces an error. In this case, please use GenerateWmatricesandHmatrix to generate new \mathbf{W}^v matrices and a new \mathbf{H} matrix.

Usage

SetWandHfromWHinitials(SickleJr, d)

Arguments

SickleJr

An object of class SickleJr

d

The number of desired latent factors

Value

An object of class SickleJr with the Wlist slot and the H slot filled from pre-calculated values.

Examples

SimSickleJrSmall<-SetWandHfromWHinitials(SimSickleJrSmall,d=5)

jrSiCKLSNMF documentation built on Aug. 12, 2025, 1:08 a.m.