R/data.R

#' Data on the efficacy of a pest management system at reducing the number of
#' roaches in urban apartments.
#'
#'
#' @format ## `roaches`
#' A data frame with 262 obs. of 6 variables:
#' \describe{
#' \item{y}{Number of roaches caught}
#' \item{roach1}{Pretreatment number of roaches}
#' \item{treatment}{Treatment indicator}
#' \item{senior}{ Indicator for only elderly residents in building}
#' \item{exposure2}{Number of days for which the roach traps were used}
#' }
#' @source Gelman and Hill (2007); package `rstanarm`
"roaches"

Try the countSTAR package in your browser

Any scripts or data that you put into this service are public.

countSTAR documentation built on July 9, 2023, 5:12 p.m.