Files
civilyticsR/man/z_gap_test.Rd
T
Jared Knowles ac63932a31
Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit
add additional functions
2023-07-20 11:48:42 -04:00

27 lines
613 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{z_gap_test}
\alias{z_gap_test}
\title{Calculate a Z-Score for a comparison between two proportions}
\usage{
z_gap_test(a_prop, a_count, b_prop, b_count)
}
\arguments{
\item{a_prop}{the proportion for group a}
\item{a_count}{the count of the population in group a}
\item{b_prop}{the proportion for group b}
\item{b_count}{the count of the population in group b}
}
\value{
a numeric z score
}
\description{
Calculate a Z-Score for a comparison between two proportions
}
\examples{
z_gap_test(0.0002, 1e4, 0.0003, 1e4)
}