to_xlist_index {multiview}R Documentation

Translate indices in 1:nvars to column indices in list of x matrices. No sanity checks

Description

Translate indices in 1:nvars to column indices in list of x matrices. No sanity checks

Usage

to_xlist_index(x_list, index)

Arguments

x_list

a list of x matrices with same number of rows nobs

index

vector of indices between 1 and nvars = sum of ncol(x) for x in x_list

Value

a conformed list of column indices for each matrix, including possibly column indices of length 0


[Package multiview version 0.8 Index]