get_glasso_fit: Get a glasso fit

Description Usage Arguments Value

View source: R/glasso_util.R

Description

Get a glasso fit

Usage

1
get_glasso_fit(x, lambda, control)

Arguments

x

A design matrix

lambda

Regularisation parameter for the glasso function.

control

An object of class hdcd_control generated by hdcd_control.

Value

A list with values cov_mat, the original estimate of the covariance structure, inds an array indicating the variables for which a variance could be estimated, the precision matrix estimated with the glasso wi and its inverse w.


mlondschien/hdcd documentation built on Jan. 5, 2021, 11:26 p.m.