Skip to content

Commit

Permalink
SH: wine
Browse files Browse the repository at this point in the history
  • Loading branch information
hojsgaard committed Feb 27, 2025
1 parent ad0087e commit 029f1cb
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: doBy
Version: 4.6.25.9016
Version: 4.6.25.9021
Title: Groupwise Statistics, LSmeans, Linear Estimates, Utilities
Authors@R: c(
person(given = "Ulrich", family = "Halekoh",
Expand Down
46 changes: 46 additions & 0 deletions R/DATA_doby.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@
#' Chemical composition of wine
#'
#' Using chemical analysis determine the origin of wines
#'
#' Data comes from the UCI Machine Learning Repository. The grape variety
#' \code{Cult} is the class identifier.
#' @concept dataset
#' @name data-wine
#' @docType data
#' @format A data frame with 178 observations on the following 14 variables.
#' \describe{
#' \item{\code{Cult}}{a factor with levels \code{v1} \code{v2}
#' \code{v3}: 3 different graph varieties}
#' \item{\code{Alch}}{Alcohol}
#' \item{\code{Mlca}}{Malic acid}
#' \item{\code{Ash}}{Ash}
#' \item{\code{Aloa}}{Alcalinity of ash}
#' \item{\code{Mgns}}{Magnesium}
#' \item{\code{Ttlp}}{Total phenols}
#' \item{\code{Flvn}}{Flavanoids}
#' \item{\code{Nnfp}}{Nonflavanoid phenols}
#' \item{\code{Prnt}}{Proanthocyanins}
#' \item{\code{Clri}}{Color intensity}
#' \item{\code{Hue}}{Hue}
#' \item{\code{Oodw}}{OD280/OD315 of diluted wines}
#' \item{\code{Prln}}{Proline}
#' }
#'
#' @references See references at
#' \url{https://archive.ics.uci.edu/ml/datasets/Wine/}
#'
#' @source Frank, A. & Asuncion, A. (2010). UCI Machine Learning
#' Repository \url{https://archive.ics.uci.edu/ml/}. Irvine, CA:
#' University of California, School of Information and Computer
#' Science.
#'
#' @keywords datasets
#' @usage data(wine)
#' @examples
#'
#' data(wine)
#' ## maybe str(wine) ; plot(wine) ...
#'
"wine"


#' @title income data
#' @description Data on income, years of educations and ethnicity for a samle of adult Americans aged over 25. The year of sampling is not avalable in the source.
#' @name income
Expand Down
Binary file added data/wine.RData
Binary file not shown.
55 changes: 55 additions & 0 deletions man/data-wine.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/plot_lm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 029f1cb

Please sign in to comment.