#' Get specific components
#'
#' @param x
#' @param group
#'
#'
#' @export
getSpecific <- function(x, group){
if (!group%in%x$names.group)
stop("select a correct group name")
ss <- x$res.summary$lambda[[group]]
ans <- ss[ss[,"sig"]!=0,]
if (nrow(ans)==0){
cat("No Specific components are significant. \n")
ans <- NULL
}
ans
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.