inst/snippet/t-test-iris.R

# for CI; p-value not interesting here
t.test(iris$Sepal.Width[iris$Species=="virginica"])        
# this gives a more interesting p-value
t.test(iris$Sepal.Width[iris$Species=="virginica"],mu=3)   

Try the fastR package in your browser

Any scripts or data that you put into this service are public.

fastR documentation built on May 1, 2019, 11:18 p.m.