getHypers() retrieves the names and values of all hyperparameters associated with an estimator passed to cvCovEst().

getHypers(dat, summ_stat, new_df = FALSE)

Arguments

dat

A data.frame of estimators and their hyperparameter values. Specifically, this is one of the outputs of summary.cvCovEst() or cvCovEst().

summ_stat

A character vector specifying the summary statistic of interest.

new_df

A logical indicating whether a new data.frame should be returned with columns for individual hyperparameters. Default is FALSE.

Value

A named list containing the names of all hyperparameters and their associated values, or a new wider data.frame.