to_nvar_index {multiview} | R Documentation |
1:nvars
. No sanity checks for efficiencyTranslate from column indices in list of x matrices to indices in
1:nvars
. No sanity checks for efficiency
to_nvar_index(x_list, index_list)
x_list |
a list of |
index_list |
a list of column indices for each matrix, including possibly column indices of length 0 |
a vector of indices between 1 and nvars = sum of ncol(x)
for x in x_list