## How to perform a one-sample t-test in R?

How to perform a one-sample t-test in R?. one-sample The t-test compares one sample’s mean to a known standard (or theoretical/hypothetical) mean. One-sample t-tests can only be used when the data is normally distributed. The Shapiro-Wilk test can be used to verify this. How to perform a one-sample t-test in R Typical research questions are:…