R/reg.ests.R

Defines functions reg.ests

Documented in reg.ests

#' Get regression estimates for pooled object
#'
#' @description
#' Get the estimates with corresponding confidence intervals after pooling.
#'
#' @param obj Pooled object.
#'
#' @param ... Other parameters to pass down.
#'
#' @return A data frame containing estimates and confidence intervals.
#'
#' @export
reg.ests <- function(obj, ...) {
    df <- summary(obj, conf.int = TRUE, ...)
    colnames(df)[which(endsWith(colnames(df), "%"))] <- c("conf.low", "conf.hi")
    return(df)
}

Try the RfEmpImp package in your browser

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

RfEmpImp documentation built on July 2, 2020, 2:13 a.m.