quanteda (version 3.3.1)

names-quanteda: Special handling for names of quanteda objects

Description

Keeps the element names and rownames in sync with the system docvar docname_.

Usage

# S3 method for corpus
names(x) <- value

# S3 method for tokens names(x) <- value

# S4 method for dfm rownames(x) <- value

# S4 method for fcm rownames(x) <- value

Arguments

x

an R object.

value

a character vector of up to the same length as x, or NULL.