Generalization of the plot
function to
work on fitted LDA_TS model objects (class LDA_TS
) returned by
LDA_TS
).
# S3 method for LDA_TS plot(x, ..., cols = set_LDA_TS_plot_cols(), bin_width = 1, xname = NULL, border = NA, selection = "median")
x | A |
---|---|
... | Additional arguments to be passed to subfunctions. Not currently
used, just retained for alignment with |
cols |
|
bin_width | Width of the bins used in the histograms of the summary time series plot, in units of the time variable used to fit the model (the x-axis). |
xname | Label for the x-axis in the summary time series plot. Defaults
to |
border | Border for the histogram, default is |
selection | Indicator of the change points to use in the time series
summary plot. Currently only defined for |
NULL
.
# \donttest{ data(rodents) mod <- LDA_TS(data = rodents, topics = 2, nseeds = 1, formulas = ~1, nchangepoints = 1, timename = "newmoon") plot(mod, binwidth = 5, xlab = "New moon") # }