is.collocations {quanteda}R Documentation

Check if an object is collocations

Description

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

Usage

is.collocations(x)

Arguments

x

object to be checked

Value

TRUE if the object is of class collocations, FALSE otherwise


[Package quanteda version 4.0.2 Index]