Description Usage Arguments Value Examples
View source: R/regression_function.R
A fonction that allow to perform multivariable linear and logistic regression and produce a data.frame to display
1 2 3 4 5 6 | setMultivariableRegression(
data,
dependentVariable,
independentVariables,
round = 2
)
|
data |
a data.frame, containing the data to be used in the regression |
dependentVariable |
a character vector of length one, containing the names of the dependant variable |
independentVariables |
a character vector containing the names of the independant variables |
round |
a numeric vector of length one, containing the round value to apply |
a data.frame, containing the result of the regression model
1 2 3 4 | data("mtcars")
setMultivariableRegression(data = mtcars,
dependentVariable = "cyl",
independentVariables = c("mpg", "drat")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.