Learn R Programming

rrda (version 0.2.3)

rrda.summary: Summarize the results of cross-validation for the coefficient Bhat obtained from the rrda.cv function.

Description

The function provides a summary of the results from cross-validation for Bhat obtained using the rrda.cv function. It displays the Mean Squared Error (MSE), rank, and lambda values for different cross-validation options.

Usage

rrda.summary(cv_result = cv_result)

Value

Prints the estimated Coefficients, rank, lambda, and MSE from cross-validation.

Arguments

cv_result

A result list from the function rrda.cv, containing a matrix of MSE values for each rank and lambda, and a vector of lambda values.