Can somebody help me with a t-test

Hi Nancy,
Welcome to the forum.

We really should have more information about your code and data. Have a look at FAQ: How to do a minimal reproducible example ( reprex ) for beginners