R/data.R

#' Some animals and their attributes
#'
#' @format A data frame with 6 rows and 4 variables:
#' \describe{
#'   \item{animal}{the name of the animal} 
#'   \item{type}{the type of animal} 
#'   \item{flies}{whether the animal can fly} 
#'   \item{mass}{the average mass of the animal in grams} 
#' }
"animals"

#' Some animals and their attributes, in rich text
#'
#' @format A data frame with 6 rows and 4 variables:
#' \describe{
#'   \item{animal}{the name of the animal}, in rich text 
#'   \item{type}{the type of animal} 
#'   \item{flies}{whether the animal can fly} 
#'   \item{mass}{the average mass of the animal in grams} 
#' }
"animals_rich"

#' The compositions of some espresso-based beverages
#'
#' @format A data frame with 6 rows and 3 variables:
#' \describe{
#'   \item{beverage}{the name of the beverage} 
#'   \item{ingredient}{the ingredient} 
#'   \item{proportion}{the proportion of a cup to fill with the ingredient} 
#' }
"beverages"

#' The compositions of some espresso-based beverages, in rich text
#'
#' @format A data frame with 6 rows and 3 variables:
#' \describe{
#'   \item{beverage}{the name of the beverage} 
#'   \item{ingredient}{the ingredient, in rich text} 
#'   \item{proportion}{the proportion of a cup to fill with the ingredient} 
#' }
"beverages_rich"

#' Some craft and their altitudes
#'
#' @format A data frame with 4 rows and 2 variables:
#' \describe{
#'   \item{craft}{the name of the craft} 
#'   \item{altitude}{the craft's normal cruising altitude in metres}
#' }
"altitudes"

#' Robert Frost's poem *Nothing Gold Can Stay* (1923)
#'
#' @format A data frame with 8 rows and 5 variables:
#' \describe{
#'   \item{line}{a line from the poem} 
#'   \item{xmin}{the xmin coordinate with which to draw the line} 
#'   \item{xmax}{the xmax coordinate with which to draw the line} 
#'   \item{ymin}{the ymin coordinate with which to draw the line} 
#'   \item{ymax}{the ymax coordinate with which to draw the line} 
#'   \item{linenumber}{the line number} 
#' }
"gold"
wilkox/ggfittext documentation built on Feb. 7, 2024, 1:30 p.m.