Skip to content

Commit 46d65bc

Browse files
committed
remove dupes imports call and fix talked_first in compute_laggcor
1 parent f1baae2 commit 46d65bc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

DESCRIPTION

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Imports:
3131
tibble,
3232
tidyr,
3333
tidyselect,
34-
utils,
3534
stats,
3635
utils,
3736
YRmisc,

R/compute_lagcorr.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ compute_lagcorr <- function(df_prep, lags = c(-2, 0, 2), corr_type = "Pearson")
141141

142142
# Combine results
143143
dyad_covar <- dplyr::bind_cols(dyad_dim_list, Event_ID = unique(df$Event_ID))
144-
dyad_covar$Talked_First <- participantvec[2]
144+
dyad_covar$Talked_First <- participantvec[1]
145145
dyad_covar
146146
})
147147

0 commit comments

Comments
 (0)