S4 partition class and methods for instances of class partition.
# S4 method for partition
name(x)# S4 method for partition,character
name(x) <- value
# S4 method for partition
length(x)
# S4 method for partition
hist(x, ...)
# S4 method for partition
length(x)
# S4 method for partition
aggregate(x)
# S4 method for partition
as.markdown(.Object, meta = getOption("polmineR.meta"),
template = getTemplate(.Object), cpos = TRUE, cutoff = NULL,
verbose = FALSE, ...)
# S4 method for partition
enrich(.Object, size = FALSE, pAttribute = NULL,
id2str = TRUE, verbose = TRUE, mc = FALSE, ...)
# S4 method for partition
freq(.Object)
# S4 method for partition
highlight(.Object, html, highlight = list(),
cqp = is.cqp, tooltips = NULL)
# S4 method for partition
pAttributes(.Object, pAttribute = NULL)
# S4 method for partition
view(.Object)
# S4 method for cooccurrences
view(.Object)
a partition object
value
further parameters
a partition object
...
template to use
...
maximum number of tokens to decode
logical
logical
a p-attribute (for enriching)
logical
logical or, if numeric, providing the number of cores
...
...
...
...
nameObject of class "character" a name that may be useful
corpusObject of class "character" the CWB corpus the partition is based on
encodingObject of class "character" encoding of the corpus
sAttributesObject of class "list" s-attributes specifying the partition
explanationObject of class "character" an explanation of the partition
cposObject of class "matrix" corpus positions
annotationsObject of class "list"
posObject of class "list" with tables "abs", "rel" and "max"
sizeObject of class "numeric" total size of the partition
metadataObject of class "data.frame" metadata information
strucsObject of class "numeric" the strucs defining the partition
pAttributeObject of class "character" indicating the pAttribute of the
count in slot tf
xmlObject of class "character" whether the xml is flat or nested
sAttributeStrucsObject of class "character" the base node
callObject of class "character" the call that generated the partition
The partition-class inherits from the textstat-class, see
respective documentation to learn more.