coef.textmodel_ca {quanteda.textmodels}R Documentation

Extract model coefficients from a fitted textmodel_ca object

Description

coef() extract model coefficients from a fitted textmodel_ca object. coefficients() is an alias.

Usage

## S3 method for class 'textmodel_ca'
coef(object, doc_dim = 1, feat_dim = 1, ...)

coefficients.textmodel_ca(object, doc_dim = 1, feat_dim = 1, ...)

Arguments

object

a fitted textmodel_ca object

doc_dim, feat_dim

the document and feature dimension scores to be extracted

...

unused

Value

a list containing numeric vectors of feature and document coordinates. Includes NA vectors of standard errors for consistency with other models' coefficient outputs, and for the possibility of having these computed in the future.


[Package quanteda.textmodels version 0.9.9 Index]