Description Usage Arguments Value Examples
View source: R/regression_function.R
A fonction that allow to perform univariable linear and logistic regression and produce a data.frame to display
1 2 3 4 5 6 | setUnivariableRegression(
data,
dependentVariable,
independentVariable,
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 |
independentVariable |
a character vector of length one, containing the names of the independant variable |
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")
setUnivariableRegression(data = mtcars,
dependentVariable = "cyl",
independentVariable = "mpg")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.