Description Usage Arguments Details Value References Examples
The rankedsets
function selects ranked sets from a target population. The selection of units in a set is without replacement, but the sets are selecting with replacement.
1 | rankedsets(X,m,s=m)
|
X |
A vector of target population |
m |
Size of units in each set |
s |
Number of sets. (by default = m) |
Target population X must be a vector.
It returns a matrix of ranked sets.
McIntyre, G. A. (1952). A method for unbiased selective sampling, using ranked sets. Australian Journal of Agricultural Research, 3(4), 385-390.
1 2 3 4 5 | data=rexp(10000,3)
## Creating m by m matrix (a regular cycle)
rankedsets(data,m=5)
## Creating m by s matrix
rankedsets(data,m=3,s=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.