Use ggplot2
to visualize the fitted values and weights of a fitted model
of class threedx
Usage
# S3 method for threedx
autoplot(object, ..., date = NULL, show_params = TRUE)
Arguments
- object
Fitted model object of class
threedx
returned bylearn_weights()
- ...
ignored
- date
Optional additional vector with dates in format that can be cast to
YYYY-MM-DD
with same length asobject$y
, used to create x-axis- show_params
Logical; if
TRUE
(default) then fitted parameters will be displayed usingggplot2::facet_wrap()