add additional functions
Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit

This commit is contained in:
Jared Knowles
2023-07-20 11:48:42 -04:00
parent 9acebb5133
commit ac63932a31
12 changed files with 446 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
% 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)
}