data-raw/cereal/cereal_usedatadoc2.R

#' @name cereal
#' @aliases cereal
#' @docType data
#' @title
#' %%   ~~ data name/kind ... ~~
#'
#' @description
#' %%  ~~ A concise (1-5 lines) description of the dataset. ~~
#'
#' @usage data("cereal")
#' @format
#'  A data frame with 77 observations on the following 16 variables.
#'  \describe{
#'    \item{\code{name}}{cereal name , a character vector}
#'    \item{\code{mfr}}{manufacturer (A  G  K  N  P  Q  R) , a character vector}
#'    \item{\code{type}}{type (cold/hot)  , a character vector}
#'    \item{\code{calories}}{calories (number) , a numeric vector}
#'    \item{\code{protein}}{protein(g) , a numeric vector}
#'    \item{\code{fat}}{fat(g) , a numeric vector}
#'    \item{\code{sodium}}{sodium(mg) , a numeric vector}
#'    \item{\code{fiber}}{dietary fiber(g) , a numeric vector}
#'    \item{\code{carbo}}{complex carbohydrates(g) , a numeric vector}
#'    \item{\code{sugars}}{sugars(g) , a numeric vector}
#'    \item{\code{potass}}{potassium(mg)  , a numeric vector}
#'    \item{\code{vitamins}}{vitamins & minerals (0, 25, or 100, respectively indicating 'none added'; 'enriched, often to 25% FDA recommended'; '100% of FDA recommended') , a numeric vector}
#'    \item{\code{shelf}}{display shelf (1, 2, or 3, counting from the floor) , a numeric vector}
#'    \item{\code{weight}}{weight (in ounces) of one serving (serving size) , a numeric vector}
#'    \item{\code{cups}}{cups per serving , a numeric vector}
#'    \item{\code{rating}}{health rating of the cereal (unknown calculation method) , a numeric vector}
#'  }
#'
#' @details 
#' %%  ~~ If necessary, more details than the __description__ above ~~
#' @source 
#' %%  ~~ reference to a publication or URL from which the data were obtained ~~
#' @references
#' %%  ~~ possibly secondary sources and usages ~~
#'
#' @concept %% non-keyword concepts, one per line
#' @examples
#' data(cereal)
#' ## maybe str(cereal) ; plot(cereal) ...
#'
#' @keywords datasets
NULL
friendly/candisc documentation built on June 10, 2025, 9:49 a.m.