as.data.frame.dfm {quanteda} | R Documentation |
Convert a dfm to a data.frame
Description
Defunct function to convert a dfm into a data.frame.
Use convert(x, to = "data.frame")
instead.
Usage
## S3 method for class 'dfm'
as.data.frame(
x,
row.names = NULL,
...,
document = docnames(x),
docid_field = "doc_id",
check.names = FALSE
)
Arguments
x |
any R object. |
row.names |
|
... |
unused |
document |
optional first column of mode |
docid_field |
character; the name of the column containing document
names used when |
check.names |
logical; passed to the |
See Also
[Package quanteda version 4.0.2 Index]