Skip to content

Commit 590f0e0

Browse files
committed
change output column positioning
1 parent 1602a01 commit 590f0e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/summarize_dyads.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ summarize_dyads <- function(df_prep, custom_lags = NULL, sumdat_only = TRUE, cor
129129
# Combine all data frames - with conditional join
130130
df_summarize <- av_df %>%
131131
dplyr::left_join(auc_df_long, by = c("Event_ID", "Dimension")) %>%
132-
dplyr::left_join(covar_df, by = c("Event_ID", "Dimension"))
132+
dplyr::left_join(covar_df, by = c("Event_ID", "Dimension")) %>%
133+
dplyr::relocate(Talked_First, .after = Participant_ID) # move Talked_First to after Participant ID
133134

134135
# Only join metadata if there were columns to summarize
135136
if (length(meta_cols) > 0) {

0 commit comments

Comments
 (0)