update_R: Update sub-matrix R

Description Usage Arguments Value Examples

View source: R/update_R.R

Description

Update sub-matrix R

Usage

1
update_R(W,update_B_list)

Arguments

W

The matrix to be factorized

update_B_list

A list containing the updated results in this iteration after running the function update_B

Value

A list the same as update_B_list with the matrix R updated

Examples

1
2
3
4
5
W <- simu_data_generation()
init_list <- initialization(W,k=5,l=4)
update_L_list <- update_L(W,init_list)
update_B_list <- update_B(W,update_L_list)
update_R_list <- update_R(W,update_B_list)

OSNMTF documentation built on Dec. 1, 2019, 1:22 a.m.