Function to check if an object is a collocations object, created by quanteda.textstats::textstat_collocations().

is.collocations(x)

Arguments

x

object to be checked

Value

TRUE if the object is of class collocations, FALSE otherwise