A "xifti" is VxT, whereas scrub accepts a TxV matrix. This function calls as.matrix and transposes the data if it is a "xifti".

as.matrix2(x)

Arguments

x

The object to coerce to a matrix

Value

x as a matrix.