Im quite new to quanteda and R. Is theyr any chance to merge multiple DFMs rowwise?
I do have at least 3 dfms with multiple texts in them and want to merge them into one dfm.
Im quite new to quanteda and R. Is theyr any chance to merge multiple DFMs rowwise?
I do have at least 3 dfms with multiple texts in them and want to merge them into one dfm.
You can use
rbindto combine them together.Small example:
If needed you can run
dfm_compressafterwards if you notice that there are features or documents that occur in both dfms. Check the help with?dfm_combined.