I am trying to bring two datasets together.
blinks_full <-
setuplong %>%
mutate(
sub = as.numeric(gsub("subject_","",sub)),
trial_number = as.numeric(gsub("trial_","",trial_number))
) %>%
rename(trial_no = trial_number) %>%
full_join(x = ., y = eyedata)
I keep getting this:
Error: by
must be supplied when x
and y
have no common variables.
i use by = character()` to perform a cross-join.
I'm not sure how to fix this.