#' @title Prints precision matrix from gslope
#'
#' @param x an object of class `'gslope'`
#'
#' @return Prints output on the screen
#'
#' @examples
#' w = gslope(as.matrix(mtcars))
#' coef(w)
#'
#' @export
coef <- function(x){
UseMethod("coef")
}
#' @rdname coef
#' @export
coef.gslope <- function(x){
print(x$precision_matrix)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.