Create object for manipulating partitions, which are sets of labels for representing and naming model entities.
Value
Object of class Partition
with the following methods.
Methods
$frame()
-- ThePartition
object as a data frame.$dotted()
-- ThePartition
object as a data frame with one united column.$names()
-- The names of thePartition
(i.e. the column names).$name()
-- The name of thePartition
(i.e. the dot-concatenated column names).$labels()
-- The labels of thePartition
(i.e. the row-wise dot-concatenated columns).$partial_labels()
-- TODO$filter(..., .wrt, .comparison_function)
-- Filter by keeping only a subset of labels.$filter_out(..., .wrt, .comparison_function)
-- Filter by removing a subset of labels.$filter_ordered(..., .wrt, .comparison_function = all_equal)
-- Filter and order by labels....
-- Labels to filter.wrt
-- The filtering labels are with respect to a particularPartition
, and.wrt
is the name of thisPartition
..comparison_function
-- Boolean function to decide if each filtering label is equal to each label in thePartition
.
$select(...)
-- Create a newPartition
with a subset of names. The rows of the newPartition
are de-duplicated.$select_out(...)
-- Create a newPartition
without a subset of names....
-- Names to keep in the resultingPartition
.
$expand(name)
-- TODO$union(other)
-- TODO