Extract the underlying data frame from an hv_data object
Source:R/hvti-data.R
as.data.frame.hv_data.RdReturns the $data slot — the tidy data frame each hv_data subclass
carries for ggplot2 consumption. Lets callers use the standard
base::as.data.frame() / base::data.frame() coercion in tidyverse
pipelines instead of reaching for the $data accessor.
Usage
# S3 method for class 'hv_data'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)