% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers_table1.R
\name{fmt_mean_sd}
\alias{fmt_mean_sd}
\title{Format mean and standard deviation as "mean (SD)"}
\usage{
fmt_mean_sd(m, s, mean_digits = 2, sd_digits = 2, use_abs = FALSE)
}
\arguments{
\item{m}{Numeric scalar. The mean value.}

\item{s}{Numeric scalar. The standard deviation.}

\item{mean_digits}{Integer. Decimal places for the mean (default 2).}

\item{sd_digits}{Integer. Decimal places for the SD (default 2).}

\item{use_abs}{Logical. If TRUE, use absolute values (default FALSE).}
}
\value{
Character string in the form "mean (sd)", or "NA" when \code{m} is \code{NA}.
}
\description{
Format mean and standard deviation as "mean (SD)"
}
\keyword{internal}
