Any of those help I have read a daily stock data csv file. and re-sample each column to weekly data. now im trying to create a new DataFrame to contain those new resampled columns.my code , As I understand you have five dataframes after re-sampling :
it fixes the issue The quanteda package is faster and more straightforward than tm, and works nicely with tidytext as well. Here's how to do it: These operations create a corpus from your object, create a document-feature matrix, and then return a data.frame that combines the variables with the feature counts. (Additional options are available when creating the dfm, see ?dfm).