coef.textmodel_wordmap {wordmap} | R Documentation |
Extract coefficients from a Wordmap model
Description
coef()
extracts top n
features with largest coefficients for each class.
Usage
## S3 method for class 'textmodel_wordmap'
coef(object, n = 10, select = NULL, ...)
## S3 method for class 'textmodel_wordmap'
coefficients(object, n = 10, select = NULL, ...)
Arguments
object |
a model fitted by |
n |
the number of coefficients to extract. |
select |
returns the coefficients for the selected class; specify by the
names of rows in |
... |
not used. |
Value
Returns a list of named numeric vectors sorted in descending order.
[Package wordmap version 0.8.0 Index]