Estimate \(\theta_i\) for each document, from a fitted textmodel_affinity object.
# S3 method for textmodel_affinity_fitted predict(object, newdata = NULL, level = 0.95, verbose = FALSE, ...)
| object | a fitted affinity textmodel |
|---|---|
| newdata | dfm on which prediction should be made |
| level | probability level for confidence interval width |
| verbose | If |
| ... | additional arguments passed to other functions |
The predict method for a affinity fitted object returns a
list of format...