Issue from regressed_data
Hi ! I am having an issue with the regressed_data function. The message error says :
Error in group_data():
! .data must be a valid <grouped_df> object.
Caused by error in validate_grouped_df():
! The groups attribute must be a data frame.
Run rlang::last_trace() to see where the error occurred.
I have the last versions of PupillometryR and dplyr and I followed all the previous steps. Even if I skip "regressed_data" I have the same problem with the grouping for the rest of the functions.
How can I solve this ?
Thank you for your help, Céline
Hi Celine, Sorry I somehow missed this. Can you provide a subset of your data or something as a worked example? I suspect one of the categories listed (a time column, a condition column etc) does not exist in your data, and this is causing this issue.