Learn R Programming

PCBN (version 0.1.1)

B_sets_cut_increments: Find the decomposition of B-sets

Description

Find the decomposition of B-sets

Usage

B_sets_cut_increments(B_sets)

Value

a list of vectors of characters. Each element of the list corresponds to one \(DeltaBset = Bset[i] \ Bset[i-1]\).

Arguments

B_sets

matrix of B-sets, assumed to be increasing. This means find_interfering_v_from_B_sets should return NULL on this matrix. This can be the output of find_B_sets_v or of B_sets_make_unique.

Examples

Run this code

B_sets = matrix(c(FALSE, FALSE, FALSE, FALSE,
                  TRUE , FALSE, FALSE, FALSE,
                  TRUE , TRUE , FALSE, FALSE,
                  TRUE , TRUE , TRUE ,  TRUE),
                nrow = 4, byrow = TRUE)

colnames(B_sets) <- c("U1", "U2", "U3", "U4")

B_sets_cut_increments(B_sets)

Run the code above in your browser using DataLab