A shortcut wrapper function to get the observed test statistic for a t test.

t_stat(data, formula, ...)

data | A data frame that can be coerced into a tibble. |
---|---|

formula | A formula with the response variable on the left and the explanatory on the right. |

... | Pass in arguments to {infer} functions. |