Learn R Programming

sentometrics (version 1.0.1)

plot.sento_modelIter: Plot iterative predictions versus realized values

Description

Displays a plot of all predictions made through the iterative model computation as incorporated in the input sento_modelIter object, as well as the corresponding true values.

Usage

# S3 method for sento_modelIter
plot(x, ...)

Value

Returns a simple ggplot object, which can be added onto (or to alter its default elements) by using the + operator.

Arguments

x

a sento_modelIter object created using sento_model.

...

not used.

Author

Samuel Borms

Details

See sento_model for an elaborate modeling example including the plotting of out-of-sample performance.