This makes print.vselsummary() (and hence also print.vsel()) print the reference model's performance evaluation results as well (not just those of the submodels). Correspondingly, a new helper function performances() is added which allows to access the reference model's (as well as the submodels') performance evaluation results in a programmatic way.
Related to this is some refactoring/renaming in summary.vsel() and plot.vsel() performed by this PR (see the commit messages and the newly added NEWS.md entries for details). In particular, this PR removes the cv_suffix of the column names and also the length(stats) == 1 case to make it easier for users to deal with the summary.vsel() output table (the one with the submodel performance results) programmatically. (As additional reasons, the print() output shows the cv_method anyway and the columns of the output table have been a bit confusing in the length(stats) == 1 case.) As indicated by the new NEWS.md entries, these refactorings/renamings should not be a breaking change for users.
This makes
print.vselsummary()
(and hence alsoprint.vsel()
) print the reference model's performance evaluation results as well (not just those of the submodels). Correspondingly, a new helper functionperformances()
is added which allows to access the reference model's (as well as the submodels') performance evaluation results in a programmatic way.Related to this is some refactoring/renaming in
summary.vsel()
andplot.vsel()
performed by this PR (see the commit messages and the newly addedNEWS.md
entries for details). In particular, this PR removes thecv_suffix
of the column names and also thelength(stats) == 1
case to make it easier for users to deal with thesummary.vsel()
output table (the one with the submodel performance results) programmatically. (As additional reasons, theprint()
output shows thecv_method
anyway and the columns of the output table have been a bit confusing in thelength(stats) == 1
case.) As indicated by the newNEWS.md
entries, these refactorings/renamings should not be a breaking change for users.