R/trees.R

#' Trees dataset
#'
#' A dataset used throughout rsgl documentation and examples
#' containing repeated measurements of tree growth over time.
#' Loading rsgl masks [datasets::trees]; refer to the built-in version as
#' `datasets::trees` if you need it.
#'
#' @format A data frame with 35 rows and 3 variables:
#' \describe{
#'   \item{tree_id}{Integer identifier for the tree.}
#'   \item{age}{Age of the tree at the time of measurement.}
#'   \item{circumference}{Trunk circumference at the time of measurement.}
#' }
#' @source Derived from [datasets::Orange] (R Core Team), with the `Tree`
#'   column renamed to `tree_id`.
"trees"

Try the rsgl package in your browser

Any scripts or data that you put into this service are public.

rsgl documentation built on June 9, 2026, 1:07 a.m.