Linear Regression Analysis
Usage
linear_regression(data, x, y, title = NULL, xlab = NULL, ylab = NULL)
Arguments
- data
Data to analyze
- x
String of column of independent variable
- y
String of column of dependent variable
- title
Title of plot
- xlab
X-axis label of plot
- ylab
Y-axis label of plot
Value
Vector of lm coefficients