R/print_add_ons.R

Defines functions print.Amartha_num

Documented in print.Amartha_num

#' @title Print Amartha object
#' @description For now, I don't specify the print pattern for Amartha object,
#' But it may be expanded later.
#' @param x the object that contains amartha object
#' @param ... ellipsis. Not useful for now!
#' @export
print.Amartha_num <- function(x, ...){
  class(x) <- class(x)[1]
  print.default(x,...)
}
blakcjack/amarthaPedia documentation built on Oct. 9, 2020, 7:56 a.m.