R/textstat.R
is.collocations.Rd
Function to check if an object is a collocations object, created by quanteda.textstats::textstat_collocations().
quanteda.textstats::textstat_collocations()
is.collocations(x)
object to be checked
TRUE if the object is of class collocations, FALSE otherwise
TRUE
collocations
FALSE