#' Calculation of first sufficient statistic for exact clustered logistic regression.
#'
#' This function calculates the first sufficient statistic, s1, for exact clustered logistic regression.
#' @param zvec The vector of observed z-values (the sum of successses in cluster)
#' @keywords Exact Clustered Logistic Regression
#' @export
#' @examples
#' s1calc()
s1calc = function(zvec){
s1 = sum(zvec)
s1
} #end s1calc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.