# Print mean and 95% confidence limits for fuel efficiency
format_meanci(mtcars$mpg)
# Print mean and standard deviation
format_meansd(mtcars$mpg)
# Print mean and standard error of the mean
format_meanse(mtcars$mpg)
# Print mean
format_mean(mtcars$mpg)
# Print mean and 95% confidence limits with no label for "95% CI"
format_meanci(mtcars$mpg, errorlabel = FALSE)
# Print mean and standard error of the mean as plus/minus interval
format_meanse(mtcars$mpg, error = "se", display = "pm")
# Print mean and 90% confidence limits with units
format_meanci(mtcars$mpg, units = "cm", cilevel = 0.9)
# Print three-digit mean with subscript in LaTeX
format_summary(mtcars$mpg, digits = 3, subscript = "control", display = "none", type = "latex")
Run the code above in your browser using DataLab