powered by
Multivariable Linear Regression
mv_linear(data, y, x, direction = "no", summary = TRUE, ...)
data
y varaible
variable names for univariable linear regression. If missing, it will be column names of data except y and adjust
direction for stepwise regression. Four options: no, backward, forward and both. Defaulted is no
logical. Whether to return summary results. TRUE as defaulted
arguments passed to step() function
multivariable linear regression results
# NOT RUN { mv_linear(data = rock,y = 'perm', direction = 'both') # }
Run the code above in your browser using DataLab