View source: R/stat_regression_linear.R
stat_regression_linear | R Documentation |
Stat - Linear Regression
stat_regression_linear(data, xvar, yvar, code, show_code)
data |
data |
xvar |
xvar |
yvar |
yvar |
code |
additional code |
show_code |
show/hide code |
No return value. This function is called for the side effect of launching a shiny application.
if (interactive()) { stat_regression_linear(mtcars) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.