regression_dataframes: Regression base and diagnosis dataframe Provides augmented...

regression_dataframesR Documentation

Regression base and diagnosis dataframe Provides augmented data for regression diagnosis

Description

Regression base and diagnosis dataframe Provides augmented data for regression diagnosis

Usage

regression_dataframes(y_var, x_var, data, model = "lm", cor_type = "pearson")

Arguments

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).


VincentAlcazer/StatAid documentation built on Aug. 27, 2024, 1:50 a.m.