R/samples.R

#' Samples Dataset  
#'
#' All possible SRSs that can be generated from the population
#' in Example 2.1 of Lohr(1999).
#' @name samples
#' @docType data
#' @format Data frame with the following 10 variables: % TODO 
#' \describe{
#'   \item{snum}{sample number}
#'   \item{unit1}{first unit in sample}
#'   \item{unit2}{second unit in sample}
#'   \item{unit3}{third unit in sample}
#'   \item{unit4}{fourth unit in sample}
#'   \item{value1}{value for first unit in sample}
#'   \item{value2}{value for second unit in sample}
#'   \item{value3}{value for third unit in sample}
#'   \item{value4}{value for fourth unit in sample}
#'   \item{that}{t hat, i.e. estimate of the population total based 
#'      on the given sample}
#' }
#' @references Lohr (1999). Sampling: Design and Analysis, Duxbury, p. 26--27 
#' and 444. 
#' @export
NULL

Try the SDaA package in your browser

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

SDaA documentation built on May 2, 2019, 6:17 p.m.