replace_factors: Replace the 'k'th columns in the matrices in 'factor_list'...

Description Usage Arguments Author(s)

Description

Replace the kth columns in the matrices in factor_list with the vectors in new_factors.

Usage

1
replace_factors(factor_list, new_factors, k)

Arguments

factor_list

A list of matrices of numerics, each with the same number of columns. The kth column of the nth element of factor_list is the kth component of the nth mode of mean tensor.

new_factors

A list of vectors. The new factors to place in the kth column of factor_list.

k

A positive integer. The column of the matrices in factor_list to replace.

Author(s)

David Gerard


kkdey/flashr documentation built on May 20, 2019, 10:36 a.m.