Learn R Programming

quanteda (version 4.0.1)

get_object_version: Get the package version that created an object

Description

Return the the quanteda package version in which a dfm, tokens, or corpus object was created.

Usage

get_object_version(x)

is_pre2(x)

Arguments

Value

A three-element integer vector of class "package_version". For versions of the package < 1.5 for which no version was recorded in the object, c(1, 4, 0) is returned.

ispre2() returns TRUE if the object was created before quanteda version 2, or FALSE otherwise