Description Usage Arguments Value References Examples
Helper function to get a sliding-window subpopulation pattern
1 | STEPPSliding(x, n2, n1)
|
x |
vector with covariate |
n2 |
size of each window (number of patients in one window) |
n1 |
min difference between windows ('slide width') |
list with k elements, each holding the indices of the elements from x belonging to that group
Bonetti2000_StatInMed
1 2 3 | set.seed(123)
x <- runif(200)
STEPPSliding(x, n2=10, n1=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.