% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/proportions.R
\name{s_proportion_logical}
\alias{s_proportion_logical}
\title{s_function for proportion of \code{TRUE} in logical vector}
\usage{
s_proportion_logical(x, label = "Responders", .alt_df)
}
\arguments{
\item{x}{(\code{logical})\cr binary variable we want to analyze.}

\item{label}{(\code{string})\cr label to use.}

\item{.alt_df}{(\code{data.frame})\cr alternative data frame used for denominator calculation.}
}
\value{
The \code{\link[rtables:in_rows]{rtables::in_rows()}} result with the proportion statistics.
}
\description{
A simple statistics function which prepares the numbers with percentages
in the required format. The denominator here is from the alternative counts data set
in the given row and column split.
}
\seealso{
\code{\link[=s_proportion_factor]{s_proportion_factor()}} for tabulating factor \code{x}.
}
