% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table2_utils.R
\name{format_indented_groups}
\alias{format_indented_groups}
\title{Apply formatting to indented groups}
\usage{
format_indented_groups(df, indent_string = "    ")
}
\arguments{
\item{df}{Data.table with Variable and Group columns.}

\item{indent_string}{Character string to use for indentation.}
}
\value{
Data.table with Group column removed and levels indented under Variables.
}
\description{
Transforms tables with Variable/Group columns into indented format where
group levels appear as indented rows under variable names. Handles both
regression and descriptive tables with appropriate \emph{p}-value placement.
}
\keyword{internal}
