Description Usage Arguments Examples
View source: R/explore_bivariate.R
This function returns either a graph or table of bivariate regression results for a dataset. The results are helpful when trying to first gain an understanding of relationships between a large number of variables.
1 2 | explore_bivariate(data, dependent, independent, control = FALSE,
p_value = 0.05, type = "graph", model_type = "ols")
|
data |
A matrix, data frame, or tibble. |
dependent |
A string character of the dependent variable |
independent |
A string vector of the different independent variables to test |
control |
A string character of one control variable that can be used |
p_value |
The significance threshold for a table output (defaults to 0.05). Graph is fixed at 95 percent confidence intervals |
type |
Specifies the type of output request. either 'graph' or 'table' |
model_type |
Specificies whether you have an OLS or logit model |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.