Deprecated function to convert a dfm into a data.frame.
Recommended that you use convert(x, to = "data.frame")
instead.
# S3 method for dfm
as.data.frame(x, row.names = NULL, ...,
document = docnames(x), 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.
logical. If TRUE
then the names of the
variables in the data frame are checked to ensure that they are
syntactically valid variable names and are not duplicated.
If necessary they are adjusted (by make.names
)
so that they are.