nc_define_modules {netcutter}R Documentation

Define co-occurrence modules

Description

Helper function to generate the list of co-occurrence terms grouped into modules of a specified size.

Usage

nc_define_modules(occ_matrix, terms_of_interest, module_size, min_occurrences)

Arguments

occ_matrix

The original occurrence matrix.

terms_of_interest

Vector of column names or indices representing the terms that should be included in the analysis.

module_size

The number of terms that should be tested for co-occurrence.

min_occurrences

Minimum number of occurrences of each term.

Value

A list of the valid modules.


[Package netcutter version 0.3.1 Index]