SSsample: Core function of SS sampling

View source: R/DSAM.R

SSsampleR 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.


DSAM documentation built on May 29, 2024, 3:05 a.m.