rang: First-step Resampling Function

Description Usage Arguments Value Examples

Description

This function allows you to randomly generate a desired number of samples for certain times from your data sets.

Usage

1
rang(SEED, N, M, n)

Arguments

SEED

a single value, interpreted as an integer.

N

a positive integer giving the number of iterations.

M

a positive integer giving the range for resampling.

n

a non-negative integer giving the number of items to choose.

Value

a matrix that each row represents the indices of samples for each iteration.

Examples

1
rang(1, 10, 100, 5)

Coraline66/Resampling documentation built on May 6, 2019, 12:51 p.m.