View source: R/highcharts-api-add.R
hc_add_series.lm | R Documentation |
hc_add_series for lm and loess objects
## S3 method for class 'lm'
hc_add_series(
hc,
data,
type = "line",
color = "#5F83EE",
fillOpacity = 0.1,
...
)
## S3 method for class 'loess'
hc_add_series(
hc,
data,
type = "line",
color = "#5F83EE",
fillOpacity = 0.1,
...
)
hc |
A |
data |
A |
type |
The type of the series: line, spline. |
color |
A stringr color. |
fillOpacity |
fillOpacity to the confidence interval. |
... |
Arguments defined in https://api.highcharts.com/highcharts/chart. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.