- Using the
`mpg`

data, create a data frame called `mpg46`

that only includes 4 and 6 cylinder cars. Conduct a t-test that compares highway fuel efficiency between the 4 and 6 cylinder cars and save the output as `mpg_ttest`

.

- Load
`{papaja}`

and use the `apa_print()`

function to extract the mean difference between cylinder numbers and the 95% confidence interval from `mpg_ttest`

.

- Extract the t-statistic and p-value for
`mpg_ttest`

.

- Extract the mean difference, 95% CI, t-statistic, and p-value in one string.

- Use
`printp()`

to format 0.0000001 as a p-value in APA format.

- Dropping the leading zero is silly. Use
`printnum()`

to return the same output as #5 but include the leading zero.