R/data_doc.R

#' Sample Data: A Simple Company with Departments
#' 
#' acme's tree representation is accessed through its root, acme.
#' 
#' \itemize{
#'   \item cost, only available for leaf nodes. Cost of the project.
#'   \item p probability that a project will be undertaken.
#' }
#' 
#' @docType data
#' @keywords datasets
#' @name acme
#' @usage data(acme)
#' @format A data.tree root Node
NULL



#' Sample Data: Data Used by the ID3 Vignette
#' 
#' mushroom contains attributes of mushrooms. We can use this data to predict a
#' mushroom's toxicity based on its attributes.
#' The attributes available in the data set are:
#' 
#' \itemize{
#'   \item color the color of a mushroom
#'   \item size whether a mushroom is small or large
#'   \item points whether a mushroom has points
#'   \item edibility whether a mushroom is edible or toxic
#' }
#' 
#' @docType data
#' @keywords datasets
#' @name mushroom
#' @usage data(mushroom)
#' @format data.frame
NULL
gluc/data.tree documentation built on Nov. 16, 2023, 10:49 p.m.