R/parameters.R

Defines functions parameters.RhrHREstimator parameters

Documented in parameters parameters.RhrHREstimator

#' Retrieves parameters from estimator
#' 
#' @param x the estimator
#' @param ... further arguments, none implemented
#' @export
#' @return List

parameters <- function(x, ...) {
  UseMethod("parameters", x)
}

#' Retrieves parameters of an object of class RhrHREstimator
#' 
#' @param x an object of class rhrHREstimator
#' @param ... further arguments, none implemented
#' @export
#' @method parameters RhrHREstimator
#' @return List

parameters.RhrHREstimator <- function(x, ...) {
  return(x$parameters)
}

Try the rhr package in your browser

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

rhr documentation built on May 31, 2017, 4:26 a.m.