Learn R Programming

quanteda (version 4.0.1)

is.collocations: 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)

Value

TRUE if the object is of class collocations, FALSE otherwise

Arguments

x

object to be checked