Computes support-recovery metrics for fitted selection objects against the
truth generated by simulate_fda_scenario().
Usage
evaluate_selection(x, truth, level = c("feature", "group", "basis"), ...)Arguments
- x
A fitted selection object or an
fda_method_comparison.- truth
Ground-truth object, typically the value returned by
simulate_fda_scenario().- level
Evaluation level:
"feature","group", or"basis".- ...
Additional arguments passed to the relevant method.