View source: R/strata_assign.R
strata_assign | R Documentation |
Create strata groups that have an equal number of days, except for the last group. The last group is truncated to be the same length as the dataset.
strata_assign(x, h_n)
x |
vector of consecutive days for splitting into equal lengths |
h_n |
number of days contained within each strata |
Ryan N. Kinzer
strata_assign(1:75,h_n = 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.