Hi

I did a permutation test using the following code

the I got the following this is just one column , I have more than that :

Question is how to extract the F value from each column to have a vector of just F values without the NA

what I want is the value of 2.733

Thanks

I did a permutation test using the following code

Code:

`perm=replicate(1000,anova(lm(sample(genenormal)~as.factor(snptest1))))`

Code:

```
V1
Df c(2,1092)
Sum sq c(48.96,9782.66)
Mean sq c(24.48,8.95)
F value c(2.733,NA)
Pr(>F) c(0.0654,NA)
```

what I want is the value of 2.733

Thanks

Last edited: