calc_lda_r2 {tidylda} | R Documentation |
Calculate R-squared for a tidylda Model
Description
Formats inputs and hands off to calc_rsquared
Usage
calc_lda_r2(dtm, theta, beta, threads)
Arguments
dtm |
must be of class dgCMatrix |
theta |
a theta matrix |
beta |
a beta matrix |
threads |
number of parallel threads |
Value
Numeric scalar between negative infinity and 1
[Package tidylda version 0.0.5 Index]