% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/uniforest.R
\name{calculate_uniforest_layout}
\alias{calculate_uniforest_layout}
\title{Calculate table layout for uniforest plots}
\usage{
calculate_uniforest_layout(
  to_show_exp_clean,
  show_n,
  show_events,
  indent_groups,
  table_width,
  center_padding,
  effect_abbrev,
  font_size,
  log_scale,
  rangeb,
  ci_pct = 95
)
}
\arguments{
\item{to_show_exp_clean}{Data.table with formatted data for plotting.}

\item{show_n}{Logical whether to include n column.}

\item{show_events}{Logical whether to include events column.}

\item{indent_groups}{Logical whether levels are indented.}

\item{table_width}{Proportion of width for table.}

\item{center_padding}{Padding between table and forest.}

\item{effect_abbrev}{Effect type abbreviation.}

\item{font_size}{Font size multiplier.}

\item{log_scale}{Logical whether using log scale.}

\item{rangeb}{Numeric vector with plot range bounds (in data units).}
}
\value{
List with column positions, widths, and layout parameters.
}
\description{
Internal function to determine column positions and widths for forest plot
table section. Positions are calculated in the same units as the data
(log scale for OR/HR/RR, linear for coefficients).
}
\keyword{internal}
