Closed ethanwhite closed 5 years ago
Simplifying the example in the README to get a reasonable run time results in an error when calling plot
plot
library(LDATS) data(rodents) dtt <- rodents$document_term_table dct <- rodents$document_covariate_table weights <- document_weights(dtt) TS_controls <- TS_controls_list(timename = "newmoon") controls <- LDA_TS_controls_list(TS_control = TS_controls) r_LDATS <- LDA_TS(dtt, dct, topics = 2:5, nseeds = 2, formulas = c(~1), nchangepoints = 1, weights = weights, control = controls)
The plot:
> plot(r_LDATS) Error in `[.data.frame`(x$"Selected TS model"$data, , tname) : undefined columns selected
Simplifying the example in the README to get a reasonable run time results in an error when calling
plot
The plot: