regression_table: All-in-one publication ready regression table for glm models...

regression_tableR Documentation

All-in-one publication ready regression table for glm models This function output a publication-ready regression table from a dataset. Each column of the dataset is independantly tested as a x variable in a univariate model.

Description

All-in-one publication ready regression table for glm models This function output a publication-ready regression table from a dataset. Each column of the dataset is independantly tested as a x variable in a univariate model.

Usage

regression_table(data, y_var, family = "gaussian")

Arguments

data

A dataframe with row corresponding to samples/patients and columns to variables.

y_var

A character string corresponding to the y variable.

family

Generalized linear model family (gaussian or binomial)


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