GroupPartitionConfig
R/048_PartitionConfig.R
setup_GroupPartition.Rd
A split that keeps every case sharing a group ID on the same side.
setup_GroupPartition(column = NULL, train_p = 0.75, seed = NULL)
Optional Character: Name of the column holding per-case group IDs.
Numeric (0, 1): Approximate training set fraction, honored at the group level.
Optional Integer [0, Inf): Random seed.
GroupPartitionConfig object.
EDG
setup_GroupPartition(column = "subject_id", train_p = 0.8, seed = 2026L)
#> <GroupPartitionConfig> #> #> method: <chr> group #> column: <chr> subject_id #> train_p: <nmr> 0.80 #> seed: <int> 2026 #>