crsh / papaja

papaja (Preparing APA Journal Articles) is an R package that provides document formats to produce complete APA manuscripts from RMarkdown-files (PDF and Word documents) and helper functions that facilitate reporting statistics, tables, and plots.
https://frederikaust.com/papaja_man/
Other
654 stars 133 forks source link

Fuse df columns #509

Closed mariusbarth closed 2 years ago

mariusbarth commented 2 years ago

Added new function fuse_df() to move degrees of freedom in an apa_results_table from column to variable label of statistic column.

We could add fuse_df() to the examples section of the

after deciding on the function name...

mariusbarth commented 2 years ago

I just addressed virtually all the changes that you suggested in your review. What is left is 1) deciding on the function name, 2) adding function to the examples sections (where it makes sense), and 3) using is_glm in arrange_regression(). This is because, from reading the code, it was my impression that arrange_regression() will become superfluous as soon as we refactor the lm/glm method.

mariusbarth commented 2 years ago

transmute_df()?

https://www.merriam-webster.com/dictionary/transmute

or df_to_label()?

crsh commented 2 years ago

Excellent, thank you!