Description Usage Arguments Value Author(s) See Also Examples
View source: R/systematicSubset.R
Take a systematic subset of indices stratified by a ranking variable.
1 | systematicSubset(n, order.by)
|
n |
integer giving the size of the subset. |
order.by |
numeric vector of the values by which the indices are ordered. |
systematicSubset
returns a vector of size n
.
Gordon Smyth
1 2 | y <- rnorm(100, 1, 1)
systematicSubset(20, y)
|
Loading required package: limma
[1] 24 34 77 63 39 82 20 36 6 86 32 13 57 92 69 72 66 80 33 75
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.