textmodel_lsa-postestimation | R Documentation |
Post-estimation methods for fitted textmodel_lsa objects.
## S3 method for class 'textmodel_lsa'
predict(object, newdata = NULL, ...)
## S3 method for class 'textmodel_lsa'
as.dfm(x)
## S3 method for class '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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.