Class and methods to manage bundles of partitions.
# S4 method for partition_bundle
show(object)# S4 method for partition_bundle
summary(object)
# S4 method for partition_bundle
merge(x, name = "", verbose = TRUE)
# S4 method for partition_bundle,ANY,ANY,ANY
[(x, i)
# S4 method for partition_bundle
barplot(height, ...)
# S4 method for list
as.partition_bundle(.Object, ...)
# S4 method for environment
partition_bundle(.Object)
# S4 method for partition_bundle
enrich(.Object, mc = FALSE, progress = TRUE,
verbose = FALSE, ...)
# S4 method for partition_bundle
s_attributes(.Object, s_attribute, ...)
a partition_bundle
object
a partition_bundle
object
the name for the new partition
logical
integer index
height
further parameters
a partition_bundle
object
logical or, if numeric, providing the number of cores
logical
the s-attribute to use
An object of the class 'partition. See partition for the details on the class.
objects
Object of class list
the partitions making up the bundle
corpus
Object of class character
the CWB corpus the partition is based on
s_attributes_fixed
Object of class list
fixed s-attributes
encoding
Object of class character
encoding of the corpus
explanation
Object of class character
an explanation of the partition
xml
Object of class character
whether the xml is flat or nested
call
Object of class character
the call that generated the partition_bundle
The merge
-method aggregates several partitions into one partition. The
prerequisite for this function to work properly is that there are no
overlaps of the different partitions that are to be summarized.
Encodings and the root node need to be identical, too.