afun_selected_stats: Get selected statistics names
Description
Helper function to be used for creating afun.
Usage
afun_selected_stats(.stats, all_stats)
Value
A character vector with the selected statistics.
Arguments
- .stats
(vector or NULL)
input to the layout creating function. Note that NULL means
in this context that all default statistics should be used.
- all_stats
(character)
all statistics which can be selected here potentially.