One sample t-test
1 2 |
data |
a data frame or tibble |
outcome |
the outcome variable (quoted) |
null_mean |
the fixed mean to test against (numeric) |
test_greater |
alternative hypothesis that the mean exceeds 'null_mean' (TRUE), is less than 'null_mean' (FALSE) or two-sided (NULL, the default) |
... |
other arguments to be passed to t.test |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.