objective: Get the objective of the current estimates

View source: R/accgrad.R

objectiveR Documentation

Get the objective of the current estimates

Description

Get the objective of the current estimates

Usage

objective(X, B, Y, C, lambda)

Arguments

X

The data matrix.

B

The J x K regression coefficient estimates.

C

The L1 penalization matrix, returned by get_C().

R

The matrix of (thresholded) correlations between columns of Y

Value

The error of the reconstruction according to the original (nonsmooth) objective.


krisrs1128/gflasso documentation built on Nov. 11, 2023, 4:24 a.m.