consolidate_LDA_results.RdConsolidates lda results by adding year and country prediction to the topicDocs
consolidate_LDA_results( theme_type = "theme", description = NULL, save = FALSE, .topicDocs = topicDocs, .in_corpus = in_corpus, .predCountry = predCountry )
| theme_type | one of topic_name, theme, NSF_specific, NSF_general, passed to make_df_docs |
|---|---|
| description | one of spatial_scale, methods, water budget, passed to make_df_docs |
| save | boolean, if true, write the results, if false, return the consolidated results |
| topicDocs | the output from the topicdata, aligned with the corpus |
| in_corpus | the corpus database containing the variable Year |
| predCountry | the complete probabilities predicted from ML |
see save