Automatically create the required layers for a recommendation object

# S3 method for recommendation
autolayer(
  x,
  color = "green",
  fill = color,
  alpha = 0.2,
  se.fit = T,
  level = 0.95,
  ...
)

Arguments

x

recommendation

color

color to use for the line

fill

fill color to use for the ribbon

alpha

alpha level for the ribbon

se.fit

plot a confidence band around the prediction?

level

level for the confidence band

...

extra arguments