Skip to content

methlabUZH/export_r_models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

R script for exporting lm() or lmer() models to a nice table in word

Usage: export_model_table(model, path_with_filename)

export_model_table.R works for all models, but the variable names in the exported Word document are in raw form (e.g., Gender1) and are not sorted. The second script, export_model_table_labels.R, shows how to adapt the script to relabel and sort all model terms more clearly.

An example Word document with the formatted table is also attached.

No more typing all the numbers by hand! : )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages