univariate_models: regression models

View source: R/analyze_graph_clusters.R

univariate_modelsR Documentation

regression models

Description

This function performs linear regression for each column in a given data frame except for those listed as a dependent variable

Usage

univariate_models(newdatafile, groups)

Arguments

newdatafile

data frame with all independent and dependent variables to be modeled

groups

a vector of all dependent variables. Example: groups<-c("Group", "Sex", "FDR", "HLA_risk","Draw_Age")

Value

list object including abbreviated summary table of significant associations, summary table of all associations, and all models


pmtran5884/Glycancc documentation built on Oct. 5, 2022, 10:14 a.m.