textmodel_lsa-postestimation.Rd
Post-estimation methods for fitted textmodel_lsa objects.
# S3 method for textmodel_lsa predict(object, newdata = NULL, ...) # S3 method for textmodel_lsa as.dfm(x) # S3 method for textmodel_lsa coef(object, doc_dim = 1, feat_dim = 1, ...) coefficients.textmodel_lsa(object, doc_dim = 1, feat_dim = 1, ...)
object, x | previously fitted textmodel_lsa object |
---|---|
newdata | new matrix to be transformed into the lsa space |
... | unused |
doc_dim, feat_dim | the document and feature dimension scores to be extracted |
predict()
returns a predicted textmodel_lsa object, projecting the patterns onto
new data.
coef.textmodel_lsa
extracts model coefficients from a fitted
textmodel_ca object.