R error message: invalid type (NULL) for variable when running t test [closed]

Hi I am currently trying to perform a t-test for BMI and the Outcome variables in a diabetes dataset I am working on. My goal is to determine whether there is a significant difference between the means of two groups. So far I’ve tried looking for any NULL values within my data set and these […]