STEPPTailDown: Helper function to get a tail-orinted (downwards: starting...

Description Usage Arguments Value Examples

View source: R/STEPPup.R

Description

Helper function to get a tail-orinted (downwards: starting from all to few patients) subpopulation pattern

Usage

1

Arguments

x

vector with covariate

g

desired number of groups

Value

list with k elements, each holding the indices of the elements from x belonging to that group

Examples

1
2
3
set.seed(123)
x <- runif(200)
STEPPTailDown(x, 10)

sagade/STEPPup documentation built on Dec. 31, 2020, 3:15 a.m.