Extract text model coefficients for documents and features, in a manner similar to coef and coefficients.
(coefficients is an alias for coef.)
coef.textmodel(object, ...)a fitted or predicted text model object whose coefficients will be extracted
unused
Returns a list of named numeric vectors with the following elements:
coef_featurecoefficients estimated for each feature
coef_feature_sestandard errors estimated for each feature-level point estimate
coef_documentcoefficients estimated for each document
coef_document_sestandard errors estimated for each document-level point estimate
coef_document_offseta document-level offset for applicable models
coef_feature_offseta feature-level offset for applicable models
An element that is not applicable for a particular object class will be NULL,
for instance coef_documents has no meaning for a fitted wordscores object.