Hello! I'm attempting textmining for the first time using the structural-topic modelling package in R. Right now I'm using the following command:
out <- prepDocuments(processed$documents, processed$vocab, processed$meta)
, which is supposed to remove infrequent terms depending on user-set parameter. However, I am unaware as to how I can set the parameter/threshold? The goal with my research is to analyze frequency of environmental politics being discussed in the Norwegian parliament, and I don't want R to remove words that could be relevant to the topic. Does anyone know how to set this lower threshold?