View source: R/prediction_code.R
| refit.model | R Documentation |
Refit the labels to the selected phrases to get non-shrunk predictions. (Uses logistic fit rather than linear, as well.)
refit.model(model, method = c("glm", "ols"))
model |
The textreg.result object from a text regression |
method |
Either "glm" or "ols". Type of model to fit. |
A fitted regression model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.