Skip to contents

Convert a LinkMap to a sparse matrix.

Usage

# S3 method for class '`MultiFactor::LinkMap`'
as.matrix(x, terms = colnames(x), dims = nlevels(x[terms]), ...)

Arguments

x

a LinkMap object.

terms

id of cols in their desired order. c(rows, cols).

dims

length-2 integer vector of matrix dimensions.

...

additional arguments. Not used.

Value

a sparse biadjacency Matrix with