Open FShpol opened 6 years ago
I keep receiving the error message below when I try to input the following t-tests: comparison_df <- all_data %>% filter(Condition %in% c('Control','Reactivation_only')==TRUE)
comparison_df <- all_data %>% filter(Condition %in% c('Control','Reactivation+Tetris')==TRUE)
t.test(Days_One_to_Seven_Number_of_Intrusions ~ Condition, comparison_df, var.equal=TRUE)
Error message: Error in t.test.formula(Days_One_to_Seven_Number_of_Intrusions ~ Condition, : grouping factor must have exactly 2 levels
I keep receiving the error message below when I try to input the following t-tests: comparison_df <- all_data %>% filter(Condition %in% c('Control','Reactivation_only')==TRUE)
t.test(Days_One_to_Seven_Number_of_Intrusions ~ Condition, comparison_df, var.equal=TRUE)
comparison_df <- all_data %>% filter(Condition %in% c('Control','Reactivation+Tetris')==TRUE)
t.test(Days_One_to_Seven_Number_of_Intrusions ~ Condition, comparison_df, var.equal=TRUE)
Error message: Error in t.test.formula(Days_One_to_Seven_Number_of_Intrusions ~ Condition, : grouping factor must have exactly 2 levels