Hello
I imported the excel file into R studio. And then I try to run the t.test with the below command:
t.test(male,female,var.equal = TRUE)
R kept saying error with:
Error in t.test(male, female, var.equal = TRUE) : object 'male' not found
I don't know what went wrong....
Try
t.test(exercise$male, exercise$female,var.equal = TRUE)
Success this time. Many thanks!
system
Closed
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.