View source: R/ggplot.autolayer.R
Automatically create the required layers for a recommendation object
1 2 3 4 5 6 7 8 9 10 | ## S3 method for class 'recommendation'
autolayer(
x,
color = "green",
fill = color,
alpha = 0.2,
se.fit = T,
level = 0.95,
...
)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.