Nothing
#' Calculate variance-covariance matrix for a fitted \code{lqr} object
#'
#' Return the bootstrap variance-covariance matrix for the parameters of a fitted \code{\link{lqr}} object.
#'
#' @param object an \code{lqmix} object
#' @param \dots not used
#'
#' @return A matrix of the estimated covariances between the parameter estimates in the linear predictor of the model.
#' @export
vcov.lqr = function(object, ...){
vcov = object$vcov
if(is.null(vcov)) warning("The variance-covariance matrix was not computed. Please, fit again the model setting vcov = TRUE.")
return(vcov)
}
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.