# NOT RUN {
res = LDARep(docs = reuters_docs, vocab = reuters_vocab, n = 1, K = 10)
lda = getLDA(res)
LDA(lda)
# does not change anything
LDA(lda, assignments = NULL)
# creates a new LDA object without the assignments element
LDA(param = getParam(lda), topics = getTopics(lda))
# creates a new LDA object with elements param and topics
# }
Run the code above in your browser using DataLab