Version numbers follow Semantic Versioning.
cathas been replaced with
LDA_TSfunction level, the separate inputs for data tables (
document_covariate_table) have been merged into a single input
data, which can be just the
document_term_tableor a list including the
document_term_tableand optionally also a
document_covariate_table. If covariates aren't provided, the function now constructs a covariate table assuming equi-spaced observations. If using a list, the function assumes that one and only one element of the list will have a name containing the letters "term", and at most one element containing the letters "covariate" (regular expressions are used for matching). (addresses issue 119)
timenamehas been moved from within the
TS_controls_listto a main argument in all associated functions.
LDA_TS_controls_listinputs now take general
LDA_TSdoes not need to have a nested set of control functions). Each control list is passed through a function (
LDA_TS_control) to set any non-input values to their defaults. This also allows the removal of those controls list class definitions. (addresses issue 130)
controlinput in the
plotcall in the example in the README (addresses issue 116)
devAskNewPageto help flip through multiple outputs, but were only resetting it with
devAskNewPage(FALSE)at the end of a clean execution. The code has been updated with
on.exit(devAskNewPage(FALSE)), which accounts for failed executions. (addresses issue 118)
summarize_TShas been renamed
package_TSto align with the other
package_functions that package model output.
sim_LDA_datasimulates an LDA model's document-term-matrix
sim_TS_datasimulates an TS model's document-topic distribution matrix
sim_LDA_TS_datasimulates an LDA_TS model's document-term-matrix
logsumexpare added as utility functions
TSwas named "deviance". The output has been updated to return the AIC.
AIC.LDA_VEM()now uses the number of parameters as reported from
logLikto calculate AIC.
document_weights()function is provided to allow for appropriate weighting of documents by their sizes (number of words) so that an average-length document is 1.
weights = NULL.
multinom_TS_chunk()now is optional via
memoise_fun()and is controlled through the TS controls list.
TS()now all have default plotting options on their outputs.
plot.TS()provides MCMC diagnostic plots and summary plots.
plot.LDA_TS()plots produce the combination of plots.
The key differences are as follows:
document_term_tablein Christensen et al. 2018 was adjusted to account for variable trapping effort. The data included in LDATS are not adjusted, so that sampling periods can be weighted appropriately.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.