Keeps the element names and rownames in sync with the system docvar
docname_
.
# 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
docid(x)
an R object.
a character vector of up to the same length as x
, or
NULL
.