Description Usage Arguments Value
View source: R/parameter_object.R
Constructor for parameter object
1 2 3 4 5 6 7 8 9 10 11 | parameters(
x = NULL,
K = 10,
start_iter = 1L,
gibbs_iter = 10L,
log_marginal_posterior_every = 1L,
save_state_every = NULL,
state_path = "perspective_",
seed = as.integer(Sys.time()),
verbose = TRUE
)
|
x |
NULL or a list with priors to set |
K |
The number of topics. |
start_iter |
Start iteration number. |
gibbs_iter |
The number of Gibbs iterations |
log_marginal_posterior_every |
Store the state file every X iteration. |
save_state_every |
Store the state file, priors, parameters and log marginal posterior every X iteration. |
state_path |
Where to store the state file. |
seed |
The seed to use for the random draws |
verbose |
Should the sampler be verbose? |
A parameter
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.