Displaying 1 result from an estimated 1 matches for "ttest66".
Did you mean:
test66
2007 Sep 13
3
t.test() with missing values
...with Mac OS X 10.4.10 and
I am still R beginner.
I try to calculate a t.test() using this code:
TTest75<-t.test(Fem75, Mal75, alternative= "two.sided", paired= TRUE)
This works properly, but I have two variables with a lot of missing
data and therefore get the error message:
TTest66<-t.test(Fem66, Mal66, alternative= "two.sided", paired= TRUE)
Fehler in var(x) : 'x' ist leer
One of the two vectors looks like this:
[1] 5.0 NA 4.5 6.0 0.8 NA 7.0 4.5 NA NA NA NA 5.0 NA 6.0 NA
5.0 NA 5.0 8.0 NA NA NA 8.0 NA 8.0 5.0 NA NA NA NA 8.0 NA 1.0...