Skip to contents

Prepare sparse matrix with interactions.

Usage

interSparseM(data, k = 2, corr_cut = 0.9)

Arguments

data

data table / dataframe

k

order of interactions: defaults to pairwise interactions

Value

matrix with interactions