S4 class to organize counts. The classes polmineR
and
ngrams
inherit from the class.
# S4 method for count
length(x)# S4 method for count
hist(x, ...)
A count
object, or a class inheriting from count
.
Further parameters.
stat
Object of class data.table
corpus
Object of class character
the CWB corpus the partition is based on
encoding
Object of class character
encoding of the corpus
name
Object of class character
, a name for the object
size
Object of class integer
, the size of the partition or
corpus the count is based upon
The length
-method is synonymous with the size
-method
and will return the size of the corpus
or partition
a count
has been derived from.
The count
-class inherits from the textstat-class