Learn R Programming

polmineR (version 0.7.9)

split,partition-method: split partition into partition_bundle

Description

Split a partition object into a partition_bundle if gap between strucs exceeds a minimum number of tokens specified by 'gap'. Relevant to split up a plenary protocol into speeches. Note: To speed things up, the returned partitions will not include frequency lists. The lists can be prepared by applying enrich on the partition_bundle object that is returned.

Usage

# S4 method for partition
split(x, gap, drop = FALSE, ...)

Arguments

x

a partition object

gap

an integer specifying the minimum gap for performing the split

drop

not yet implemented

...

further arguments

Value

a partition_bundle