Skip to content

more group-based splitting methods #207

Description

@topepo

It would be good to have an initial_group_split(data, group, strata, prop) method that can split the data when there are groups (perhaps patients). The strata option might be difficult when the outcome (or other stratification variable) is not constant within each group. We could also use the median or mode on the stratification variable and use that.

Similarly, a mc_group_cv() function would also be a good idea (using the splitting method as above).

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions