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, ...)

Arguments

object

a fitted affinity textmodel

newdata

dfm on which prediction should be made

level

probability level for confidence interval width

verbose

If TRUE, output status messages

...

additional arguments passed to other functions

Value

The predict method for a affinity fitted object returns a list of format...