| approx_sb | lower bound of a vector of probabilities that sum to one |
| compute_misrate | calculate the misclassification rates |
| compute_params | compute model summaries from the model outputs |
| continue_lcm_tree | continue from a previous model fit |
| design_tree | Organize the data around the rooted binary weighted tree |
| expit | expit |
| fit_lcm_tree | Fit latent class model with tree-structured shrinkage over... |
| getC | Initialize sigma alpha for shared tau |
| getC_separate_tau | Initialize sigma alpha for distinct tau |
| get_est_cpp | Summarize the posterior mean, sd and confidence interval... |
| get_line1_2_13_subid | calculate line 1 and 2 and 13 of ELBO to assess convergence... |
| get_moments_cpp | Calculate variational moments during the updates |
| get_moments_cpp_eco | Calculate variational moments during the updates (only for... |
| g_fun | g |
| g_fun0 | g 0 |
| g_fun.vec | g, vectorized |
| initialize_tree_lcm | Initialize the variational inferential algorithm for latent... |
| lca_ll | log likelihood for lca |
| lcm_by_group | estimate latent class models by pre-specified groups of... |
| lcm_tree | wrapper function for fitting and summaries |
| log1p_exp | log(1+exp(x)) (copied from moretrees:) |
| log1p.exp.vec | log expit vectorized |
| logexpit | log expit |
| logexpit_cpp | logexpit to avoid numerical underflow |
| logit | sigmoid (copied from moretrees:) |
| lotR | lotR: *l*atent class analysis of *o*bservations organized by... |
| lotR_blca | Simulate data and subject-specific indicators from latent... |
| lotR_example_data | Simulated multivariate binary data. |
| lotR_example_data_tree | Simulated multivariate binary data. (with tree structure) |
| lotR_example_data_tree_K2 | Simulated multivariate binary data. (with tree structure) |
| lotR_example_edges | Edgelist for constructing an example tree. |
| lower_bd | lower bound of expit(x) |
| make_list | Takes any number of R objects as arguments and returns a list... |
| mexpit | multi-expit (numerical overflow dealt with) |
| opt_colpermB | Get optimal column permutation of a matrix B to match the... |
| permutations | generate all permutations of 1 to n |
| plot_est_resp | plots the estimated response probabilities by class |
| plot.lcm_tree | plots the groups discovered by lcm_tree on the tree for... |
| plot_noncir | plots the groups discovered by lcm_tree on the tree for... |
| predict.blca | approximate predictive class probabilities for a new... |
| predict.lcm_tree | approximate predictive class probabilities for a new... |
| print.lcm_tree | 'print.lcm_tree' summarizes the results from 'lcm_tree()'. |
| print.summary.lcm_tree_compact | Compact printing of 'lcm_tree()' model fits |
| print.summary.lcm_tree_long | Long-form printing of 'lcm_tree()' model fits |
| prob2stick | transform a vector of probabilities that sum to one to stick... |
| rmse_bias_AB | calculate root mean squared errors and biases |
| simulate_lcm_tree | Simulate data and subject-specific indicators from... |
| split_along_dim | create a list with members being the matrices along a... |
| summary.lcm_tree | 'summary.lcm_tree' summarizes the results from 'lcm_tree()'. |
| tree_lca_ll | log data likelihood for tree LCM |
| tsb | generate stick-breaking prior (truncated) from a vector of... |
| update_gamma_alpha_subid | Update gamma and alpha together. Update the variational mean... |
| update_gamma_alpha_subid_separate_tau | Update gamma and alpha together. Update the variational mean... |
| update_hyperparams | update hyperparameters in the latent class model with... |
| update_rmat | Update the variational probabilities of each observation in... |
| update_rmat_partial | Update the variational probabilities of each observation in... |
| update_vi_params | update variational parameters in the latent class models with... |
| xlogx | xlogx |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.