powered by
DEPRECATED. Please see k_fold.
k_fold
rs_fold(mat, m = NULL, modes = NULL)
matrix to be folded
the mode corresponding to rs_unfold
the original modes of the tensor