Skip to contents

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 by learn_weights()

...

ignored

date

Optional additional vector with dates in format that can be cast to YYYY-MM-DD with same length as object$y, used to create x-axis

show_params

Logical; if TRUE (default) then fitted parameters will be displayed using ggplot2::facet_wrap()