Im trying to do a t test between two means of a test of two groups but I have been unable to get a result. Im receieving this error
Warning in is.na(y) : is.na() applied to non-(list or vector) of type 'language' Error: ! Can't combine
SpeakGroup<character> and
GmeanResponse` .
Backtrace:
- deledata %>% ...
- stats:::t.test.default(...)
- tibble:::
[.tbl_df
(x, xok) - tibble:::tbl_subset_matrix(x, j, j_arg)
- vctrs::vec_c(!!!values, .name_spec = ~.x)
- vctrs (local)
<fn>
() - vctrs::vec_default_ptype2(...)
- vctrs::stop_incompatible_type(...)
- vctrs:::stop_incompatible(...)
- vctrs:::stop_vctrs(...)`
This is the code im using:
deledata <- groupwithmean %>%
filter(Test == "ESP")
deledata
The output
and the code for the t test
ttestDELE <- deledata %>%
t.test(GmeanResponse ~ SpeakGroup, mu=0, alt="two.sided", conf=0.95, var.eq=F, paired=F)
ttestDELE
Thanks in advance