var.test(x, y, alternative="two.sided", conf.level=.95)
Snedecor, G. W. and Cochran, W. G. (1980). Statistical Methods, 7th ed. Ames, Iowa: Iowa State University Press.
var.test(x, y, conf.level=.9) # The null hypothesis is that 'x' and 'y' come from # populations with the same variance. These populations # are assumed to be normal. The alternative hypothesis is # that the population variances are not equal. The # confidence interval for the ratio of the population # variances will have a confidence level of 0.90. var.test(x, y, alternative="greater") # The null hypothesis is as above. The alternative # hypothesis is that the population variance for # 'x' is greater than that for 'y'.