Paired samples t-test
ttest_paired(data, formula = NULL, outcome = NULL, group = NULL, id = NULL, test_greater = NULL, ...)
data | a data frame or tibble |
---|---|
formula | the model formula (i.e., outcome ~ group) |
outcome | the outcome variable (quoted) |
group | the grouping variable (quoted) |
id | the id variable (qouoted) |
test_greater | group proposed to be larger under the alternative (character), or NULL (the default, for a two-sided test) |
... | other arguments to be passed to t.test |