R/data_doc_whiskey.R

#' Whiskey data
#'
#' Ratings of different whiskeys of differing maturity.
#'
#' @docType data
#'
#' @usage data(whiskey)
#'
#' @format A data frame with 8 rows and two columns.
#' \describe{
#'   \item{maturity}{the length of time the whiskey has matured for}
#'   \item{grade}{grade applied to the whiskey. A lower score indicates a better
#'   whiskey}
#' }
#'
#' @keywords datasets whiskey
#'
#' @source O'Mahony (1986, p.363)
#'
#' @references
#' Rayner, J.C.W. and Best, D.J. (2001). A Contingency Table Approach to Nonparametric Testing. Chapman & Hall/CRC: Boca Raton FL.
#'
#' O'Mahony, M. (1986). Sensory Evaluation of Food - Statistical Methods and Procedures. Marcel Dekker: New York.
#'
#' @examples
#' attach(whiskey)
#' CMH(treatment = maturity, response = grade, a_ij = c(1,5,7),
#' b_hj = 1:3, test_OPA = FALSE, test_GA = FALSE, test_MS = FALSE)
"whiskey"

Try the CMHNPA package in your browser

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

CMHNPA documentation built on Feb. 16, 2023, 7:20 p.m.