Construct the expanded Drake plan for LDA time series analyses

build_ldats_analyses_plan(datasets, max_topics = c(3), nseeds = 4,
  nchangepoints = c(2, 3), formulas = c("time", "intercept"))

Arguments

datasets

the drake plan for the datasets to analyze

max_topics

the maximum number of topics to try (the function will test a number of topics from 2 to max_topics)

nseeds

Number of seeds (replicate starts) to use for each value of topics. Must be conformable to integer value.

nchangepoints

Vector of integers: which numbers of changepoints to try.

formulas

Defaults to NULL. If nothing supplied, ~timename. If supplied, uses that.

Value

a drake plan