# NOT RUN {
# coercion to matrix
as.matrix(data_dfm_lbgexample[, 1:10])
# coercion to a data.frame
as.data.frame(data_dfm_lbgexample[, 1:15])
as.data.frame(data_dfm_lbgexample[, 1:15], document = NULL)
as.data.frame(data_dfm_lbgexample[, 1:15], document = NULL,
row.names = docnames(data_dfm_lbgexample))
# }
Run the code above in your browser using DataLab