R/LR-coef.R

Defines functions coef.LR_boot coef.LR

Documented in coef.LR coef.LR_boot

#' Estimated coefficients for the Lorenz regression
#'
#' Provides the estimated coefficients for an object of class \code{"LR"}.
#'
#' @aliases coef.LR_boot
#' @param object An object of S3 class \code{"LR"}.
#' @param ... Additional arguments.
#'
#' @return a vector gathering the estimated coefficients
#'
#' @seealso \code{\link{Lorenz.Reg}}
#'
#' @examples
#' ## For examples see example(Lorenz.Reg)
#'
#' @method coef LR
#' @export

coef.LR <- function(object, ...){

  object$theta

}

#' @method coef LR_boot
#' @export

coef.LR_boot <- function(object, ...){
  NextMethod("coef")
}

Try the LorenzRegression package in your browser

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

LorenzRegression documentation built on June 27, 2025, 9:07 a.m.