Nothing
#' Extract variance-covariance matrix from an "fcrr" object.
#'
#' @description Similar functional utility to \code{vcov} methods.
#'
#' @param object \code{fcrr} object.
#' @param ... Additional arguments. Not implemented.
#' @return Returns the estimated variance-covariance matrix (via bootstrap) from object \code{object}.
#' @export
#'
vcov.fcrr <- function(object, ...) {
if(!object$isVariance) {
stop("Variance must be calculated. Rerun fastCrr with 'variance = TRUE'.")
} else {
object$var
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.