Two sample t-test

ttest_twosample(data, formula = NULL, outcome = NULL, group = NULL, test_greater = NULL, equal_variances = FALSE, ...)

data | a data frame or tibble |
---|---|

formula | the model formula (i.e., outcome ~ group) |

outcome | the outcome variable (quoted) |

group | the grouping variable (quoted) |

test_greater | group proposed to be larger under the alternative (character), or NULL (the default, for a two-sided test) |

equal_variances | should the test assume equality of variance? (default = FALSE) |

... | other arguments to be passed to t.test |