Latent Dirichlet Allocation Time Series (LDATS)

Juniper L. Simonis

Overview

This vignette outlines the code base for the LDATS package. It was constructed using LDATS version 0.2.4 on 2019-07-29.

Installation

To obtain the most recent version of LDATS, install the most recent version from GitHub:

install.packages("devtools")
devtools::install_github("weecology/LDATS")

Analytical Pipeline

The full LDATS analysis can be executed using the LDA_TS function, which is the top-level of the coding pipeline’s hierarchy of functions:

Each component model’s function (LDA_set() and TS()) can be run independently, as well.

Controls Lists

To minimize the length of argument lists and facilitate simple default usage throughout the pipeline, we implement an options/controls list approach, where each of the main functions (LDA_TS, LDA_set, and TS) and its subfunctions have a control argument that takes a list to replace the defaults returned by its _control function: