PartPrint: Pretty print and plot (optional) the partition

Description Usage Arguments Examples

Description

Pretty print and plot (optional) the partition

Usage

1
PartPrint(sizes, part, plot = FALSE)

Arguments

sizes

a numeric vector which represents the integers (>0) in the set S.

part

a logical vector which represents the indicator function of S1 in the partition S=S1+S2.

plot

barplot of the partition

Examples

1
2
3
sizes <- c(13, 11, 8, 20, 20, 11, 16, 17, 4, 13)
part <-  c(TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, FALSE, TRUE, TRUE)
PartPrint(sizes, part)

arnaud-m/partition documentation built on May 10, 2019, 1:44 p.m.