View source: R/048_PartitionConfig.R
| setup_GroupPartition | R Documentation |
GroupPartitionConfigA split that keeps every case sharing a group ID on the same side.
setup_GroupPartition(column = NULL, train_p = 0.75, seed = NULL)
column |
Optional Character: Name of the column holding per-case group IDs. |
train_p |
Numeric (0, 1): Approximate training set fraction, honored at the group level. |
seed |
Optional Integer [0, Inf): Random seed. |
GroupPartitionConfig object.
EDG
setup_GroupPartition(column = "subject_id", train_p = 0.8, seed = 2026L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.