get_opt_beta_lambda: Select Optimal Beta and Lambda Combination

View source: R/process_results.R

get_opt_beta_lambdaR Documentation

Select Optimal Beta and Lambda Combination

Description

This function loads intermediate results corresponding to lambda-optimal solutions for each beta value. It identifies and returns the beta-lambda combination that minimizes the objective function.

Usage

get_opt_beta_lambda(combinations, root.path)

Arguments

combinations

A matrix or data frame where each row corresponds to a beta and optimal-lambda pair.

root.path

Path to the folder where all results are to be saved.

Value

A vector of intermediate results including the optimal: lambda, beta, risk, constraint, obj.


PLUCR documentation built on March 30, 2026, 5:08 p.m.