Learn R Programming

polmineR (version 0.6.1)

compare: compare features of two partitions

Description

compare features of two partitions

Usage

compare(x, ...)
"compare"(x, y, included = FALSE, method = "chisquare", verbose = FALSE)
"compare"(x, y, included = FALSE, method = "chisquare", verbose = TRUE, mc = TRUE, progress = FALSE)
"compare"(x, y, included = FALSE, method = "ll", mc = TRUE, verbose = TRUE)
"compare"()
"compare"(x, y, included = FALSE, method = "chisquare", verbose = TRUE, ...)

Arguments

x
a partition or partitionBundle object
...
further parameters
y
a partition object, it is assumed that the coi is a subcorpus of ref
included
TRUE if coi is part of ref, defaults to FALSE
method
the statistical test to apply (chisquare or log likelihood)
verbose
defaults to TRUE
mc
logical, whether to use multicore
progress
logical

Value

The function returns a data frame with the following structure: - absolute frequencies in the first row - ...

References

Manning / Schuetze ...