pprint(t.test(1:30, 2:31), format = "t.test")
pprint(t.test(1:30, 2:31), format = "t.test", print.estimate = FALSE)
pprint(t.test(1:30, 2:31),
format = "t.test",
estimate.names = c("control", "treatment"))
TeaTasting <-
matrix(c(3, 1, 1, 3),
nrow = 2,
dimnames = list(Guess = c("Milk", "Tea"),
Truth = c("Milk", "Tea")))
pprint(fisher.test(TeaTasting, alternative = "greater"),
format = "fisher")
pprint(fisher.test(TeaTasting, alternative = "greater"),
format = "fisher",
print.estimate = FALSE)
Run the code above in your browser using DataLab