predict.sento_model {sentometrics} | R Documentation |
Make predictions from a sento_model object
Description
Prediction method for sento_model
class, with usage along the lines of
predict.glmnet
, but simplified in terms of parameters.
Usage
## S3 method for class 'sento_model'
predict(object, newx, type = "response", offset = NULL, ...)
Arguments
object |
a |
newx |
a data |
type |
type of prediction required, a value from |
offset |
not used. |
... |
not used. |
Value
A prediction output depending on the type
argument.
Author(s)
Samuel Borms
See Also
[Package sentometrics version 1.0.0 Index]