Learn R Programming

OSNMTF (version 0.1.0)

update_R: Update sub-matrix R

Description

Update sub-matrix R

Usage

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab