R/attributes.R

#' @export
InitializeIndicator <- function(name, parameters, ...){

  # Need to assert name is scalar character
  # Need to assert parameters is a list


  Indicator <- dplyr::data_frame(...)
  attr(Indicator, "Name") = name
  attr(Indicator, name) = parameters

  return(Indicator)

}
mikebesso/two.laws.quant.indicators documentation built on May 29, 2019, 2:51 p.m.