You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to peculiarities of its files (or my code, not sure), there are extra NA.
See aclew.R in ACLEW_correllations in vihi_sample in one_time_scripts to see what actually happens there.
add_its_stats(add_stats_function = get_lena_speaker_stats) %>%
# Sometimes some numeric columns in its files (as read by rlena) are
# inexplicably NA instead of zero ¯\_(ツ)_/¯. We'd rather have zeros there
# unless it is a fully NA row signifying an interval with no LENA segments.
mutate(across(c(adult_word_count, utterance_count, segment_duration),
~ if_else(is.na(spkr), true = .x,
false = replace_na(.x, 0)))) %>%
The text was updated successfully, but these errors were encountered:
Due to peculiarities of its files (or my code, not sure), there are extra NA.
See aclew.R in ACLEW_correllations in vihi_sample in one_time_scripts to see what actually happens there.
The text was updated successfully, but these errors were encountered: