calc_PGtheta_R: Calculate the probability for Polya-Gamma Covariate Model
Description
Same as utils::calc_PGtheta, but this is for calling from R
Usage
calc_PGtheta_R(theta_tilda, theta, num_doc, num_topics)
Arguments
- theta_tilda
Parameters
- theta
Parameters
- num_doc
Number of documents
- num_topics
Number of topics