R/vcov.polywog.r

##' @export
vcov.polywog <- function(object, ...)
{
    ncf <- length(coef(object))
    if (!is.null(object$boot.matrix)) {
        ans <- var(t(as.matrix(object$boot.matrix)))
    } else {
        ans <- matrix(NA, nrow = ncf, ncol = ncf)
    }
    return(ans)
}
brentonk/polywog-package documentation built on May 13, 2019, 5:10 a.m.