Learn R Programming

forestsearch (version 0.1.0)

sort_subgroups: Sort Subgroups by Focus

Description

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

Usage

sort_subgroups(result_new, sg_focus)

Value

A sorted data.table.

Arguments

result_new

A data.table of subgroup results.

sg_focus

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