r - T-test with only one value in x and y -


i've been trying run t-test on familiarity data, in i'm trying see whether ape reacts more if familiar sound broadcasted. have 1 observation x , y in t-test, gives me following error message:

error in t.test.default(ubt, uat) : not enough 'x' observations 

i've seen similar problem somewhere else (error using t.test() in r - not enough 'y' observations), here there 1 y observation , more x observations, whereas i'm dealing 1 observation in both x , y.

i'm bit stuck here - know way around problem? data i've entered far. works time (hours minutes seconds) - hope won't issue...

unfbeforet<-c("00:01:02") unfaftert<-c("00:22:20")  ubt<-times(unfbeforet) uat<-times(unfaftert)  t.test(ubt,uat) 

thanks in advance!


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -