SSsample {DSAM} | R Documentation |
Core function of SS sampling
Description
Built-in function: This function performs the SS algorithm.
Usage
SSsample(index, prop)
Arguments
index |
A subscript vector whose subscript corresponds to the output vector of the data point sorted in an ascending order. |
prop |
The sampling ratio, with the value ranging between 0 and 1. |
Value
Return a vector containing the subscript of the sampled data points.
[Package DSAM version 1.0.2 Index]