% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/proportions.R
\name{c_proportion_logical}
\alias{c_proportion_logical}
\title{c_function for proportion of \code{TRUE} in logical vector}
\usage{
c_proportion_logical(x, labelstr, label_fstr, format, .N_col)
}
\arguments{
\item{x}{(\code{logical})\cr binary variable we want to analyze.}

\item{labelstr}{(\code{string})\cr label string.}

\item{label_fstr}{(\code{string})\cr format string for the label.}

\item{format}{(\code{character} or \code{list})\cr format for the statistics.}

\item{.N_col}{(\code{numeric})\cr number of columns.}
}
\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, for use in a split content row. The denominator here is
from the column N. Note that we don't use here .alt_df because that might not
have required row split variables available.
}
\seealso{
\code{\link[=s_proportion_logical]{s_proportion_logical()}} for the related statistics function.
}
