prFixDescRownames: Fix rownames for descriptive results
Description
Helper for [getDescriptionStatsBy] that fixes row names
Usage
prFixDescRownames(results, t, name)
Value
The results with fixed names
Arguments
- results
A matrix with the results
- t
The [base::by()] output
- name
Name if row names are missing or the results is a single row