R/renalstone.R

#'Risk of Renal Stone Data for Cochran-Armitage Trend Test
#'
#'@description Presents the frequencies of individuals at high risk of renal
#'  calculi according to age and gender. This a demo dataset for
#'  Cochran-Armitage trend test for investigating whether there is a linear
#'  trend between the proportion of individual with renal stone and ages.
#'@name renalstone
#'@docType data
#'@usage data("renalstone")
#'@format A data frame with 3513 rows and 3 columns.
#'@references Hazra, Avijit, and Nithya Jaideep Gogtay. 2016. “Biostatistics
#'Series Module 4: Comparing Groups – Categorical Variables.” In Indian Journal
#'of Dermatology
#' @examples
#' data(renalstone)
#' xtabs(~stone+age+gender, data = renalstone)
NULL
kassambara/datarium documentation built on Jan. 25, 2021, 9:25 p.m.