R/augment.R

Defines functions augment.drfit

Documented in augment.drfit

#' @export
generics::augment

#' Get Augmented Data from drfit Object
#'
#' Get a tibble of the original data with augmentation.
#'
#' @inheritParams params
#' @return A tibble of the augmented data.
#' @family generics
#' @seealso
#' @export
#' @examples
#' fit <- dr_fit(detrange::range_obs)
#' augment(fit)
augment.drfit <- function(x, ...) {
  chk_unused(...)
  x$data
}
Freshwater-Fish-Ecology-Laboratory/detrange documentation built on Oct. 30, 2024, 1:10 p.m.