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), docid_field = "doc_id", check.names = FALSE )
| 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 |