SetWandHfromWHinitials {jrSiCKLSNMF}R 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)

[Package jrSiCKLSNMF version 1.2.1 Index]