View source: R/analyze_graph_clusters.R
univariate_models | R Documentation |
This function performs linear regression for each column in a given data frame except for those listed as a dependent variable
univariate_models(newdatafile, groups)
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") |
list object including abbreviated summary table of significant associations, summary table of all associations, and all models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.