# NOT RUN {
response <- c(rnorm(5),rnorm(5,2,1))
fact <- gl(2,5,labels=LETTERS[1:2])
# Not enough permutations here but faster to run
# Unpaired test
perm.t.test(response~fact,nperm=49)
# Paired test
perm.t.test(response~fact,paired=TRUE,nperm=49)
# }
Run the code above in your browser using DataLab