inst/doc/using-robsel.R

## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## -----------------------------------------------------------------------------
x <- matrix(rnorm(100*5),ncol=5)

## -----------------------------------------------------------------------------
library(robsel)
lambda <- robsel(x)
lambda

## -----------------------------------------------------------------------------
A <- robsel.glasso(x)
A

## -----------------------------------------------------------------------------
alphas <- c(0.1, 0.5, 0.9)
lambdas <- robsel(x, alphas)
lambdas

## -----------------------------------------------------------------------------
robsel.fits <- robsel.glasso(x, alphas)
robsel.fits

Try the robsel package in your browser

Any scripts or data that you put into this service are public.

robsel documentation built on May 25, 2021, 5:08 p.m.