filter_dfm.Rd
Filter the complete document-feature matrix to retain all features with occurence higher than the lowest occurence of country tokens. This function mainly serves to limit the size of the document-feature matrix
filter_dfm(obj_dfm, country_tokens = NULL)
obj_dfm | a document-feature matrix |
---|---|
country_tokens | the tokens with which the document-feature matrix is filtered |
a filtered document-feature matrix