forked from quanteda/quanteda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtextmodel_lsa-postestimation.Rd
40 lines (33 loc) · 1.14 KB
/
textmodel_lsa-postestimation.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/textmodel_lsa.R
\name{textmodel_lsa-postestimation}
\alias{textmodel_lsa-postestimation}
\alias{predict.textmodel_lsa}
\alias{as.dfm.textmodel_lsa}
\alias{coef.textmodel_lsa}
\alias{coefficients.textmodel_lsa}
\title{Post-estimations methods for textmodel_lsa}
\usage{
\method{predict}{textmodel_lsa}(object, newdata = NULL, ...)
\method{as.dfm}{textmodel_lsa}(x)
\method{coef}{textmodel_lsa}(object, doc_dim = 1, feat_dim = 1, ...)
coefficients.textmodel_lsa(object, doc_dim = 1, feat_dim = 1, ...)
}
\arguments{
\item{object, x}{previously fitted \link{textmodel_lsa} object}
\item{newdata}{new matrix to be transformed into the lsa space}
\item{...}{unused}
\item{doc_dim, feat_dim}{the document and feature dimension scores to be
extracted}
}
\value{
\code{predict()} returns a predicted \link{textmodel_lsa} object, projecting the patterns onto
new data.
\code{coef.textmodel_lsa} extracts model coefficients from a fitted
\link{textmodel_ca} object.
}
\description{
Post-estimation methods for fitted \link{textmodel_lsa} objects.
}
\keyword{internal}
\keyword{textmodel}