Skip to contents

Sorts a data.table of subgroup results according to the specified focus.

Usage

sort_subgroups(result_new, sg_focus)

Arguments

result_new

A data.table of subgroup results.

sg_focus

Sorting focus: "hr", "hrMaxSG", "maxSG", "hrMinSG", "minSG".

Value

A sorted data.table.