R/objective.R

Defines functions objective

Documented in objective

objective <-
function(B, b, X, Y, lambda) {
    -logL(B, b, X, Y) + lambda*nuclear(B)
}

Try the npmr package in your browser

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

npmr documentation built on Nov. 12, 2023, 1:08 a.m.