covers: Check if a set covers a partition check if a set covers a...

View source: R/list_kcliques.R

coversR Documentation

Check if a set covers a partition check if a set covers a partition, that is: "it contains at least one element from each cell of the partition"

Description

Check if a set covers a partition check if a set covers a partition, that is: "it contains at least one element from each cell of the partition"

Usage

covers(set, partition)

Arguments

set

a character vector containing members of the set

partition

a list of character vector containing members of the partition

Value

A logical: TRUE if the set covers the partition and FALSE if not


RemiMahmoud/kclique documentation built on March 18, 2023, 1:41 p.m.