regression_dataframes | R Documentation |
Regression base and diagnosis dataframe Provides augmented data for regression diagnosis
regression_dataframes(y_var, x_var, data, model = "lm", cor_type = "pearson")
y_var |
A character string corresponding to the y variable. |
x_var |
A character string corresponding to the x variable(s). |
data |
A dataframe with row corresponding to samples/patients and columns to variables. |
model |
Type of generalised linear model (lm or gam). |
cor_type |
Type of correlation to show on the graph (pearson or spearman). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.