R/dogscats.R

#' Veterinarian's survey of expenses of dogs and cats.
#'
#' Simple random sample of patient records of a veterinarian. The data can be post-stratified by animal type knowing that in the population of 1300 patients there are 850 dogs and 450 cats.
#'
#' @format A data frame with 50 observations and three variables:
#' \describe{
#'    \item{type:}{animal type (dog or cat)}
#'    \item{visits:}{number of visits}
#'    \item{expenses:}{total expenses in dollars}
#' }
#'
#' @note These data are presumed to be simulated.
#'
#' @source Levy, P. S., & Lemeshow, S. (1999). \emph{Sampling of populations: Methods and applications} (3rd Edition). New York: Wiley.
"dogscats"
trobinj/trtools documentation built on Jan. 28, 2024, 3:20 a.m.