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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.