coef() extracts top n features with largest coefficients for each class.
# S3 method for textmodel_wordmap
coef(object, n = 10, select = NULL, ...)# S3 method for textmodel_wordmap
coefficients(object, n = 10, select = NULL, ...)
Returns a list of named numeric vectors sorted in descending order.
a model fitted by textmodel_wordmap().
the number of coefficients to extract.
returns the coefficients for the selected class; specify by the
names of rows in object$model.
not used.