Defunct function to convert a dfm into a data.frame.
Use convert(x, to = "data.frame")
instead.
# S3 method for dfm
as.data.frame(
x,
row.names = NULL,
...,
document = docnames(x),
docid_field = "doc_id",
check.names = FALSE
)
any R object.
NULL
or a character vector giving the row
names for the data frame. Missing values are not allowed.
unused
optional first column of mode character
in the
data.frame, defaults docnames(x)
. Set to NULL
to exclude.
character; the name of the column containing document
names used when to = "data.frame"
. Unused for other conversions.
logical; passed to the data.frame()
call.
convert()